From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java index 79dd400..61f7254 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationHouseDO.java @@ -23,7 +23,7 @@ /** * 主键id */ - @TableId(type = IdType.INPUT) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -65,7 +65,7 @@ private String houseNo; /** - * 房屋状态(1.自住 2.租住 3.其他) + * 房屋状态(1.自住 2.租住 3.空置 4.其他) */ private Integer status; @@ -123,6 +123,11 @@ */ private String path; + /** + * 楼层数 + */ + private Integer floorNum; + @Override public String toString() { return "ComMngPopulationHouseDO{" + "id=" + id + ", streetId=" + streetId + ", address=" + address + ", code=" @@ -131,4 +136,14 @@ + ", constructArea=" + constructArea + ", path=" + path + ", createAt=" + createAt + ", updateAt=" + updateAt + "}"; } + + /** + * 房屋状态(1.自住 2.租住 3.空置 4.其他) + */ + public interface status{ + int zizhu = 1; + int zuzhu = 2; + int kongzhi = 3; + int qita = 4; + } } \ No newline at end of file -- Gitblit v1.7.1