From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 24 十月 2022 13:48:24 +0800 Subject: [PATCH] #feat 修改别名 --- 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