From de91c84954157bb9f8b6d938cbe0b1b51fb6e65d Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期五, 07 五月 2021 15:23:57 +0800 Subject: [PATCH] bugfixed:新增便民服务商家 报错 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructHouseDO.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructHouseDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructHouseDO.java index b71dfc6..8ee80b1 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructHouseDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructHouseDO.java @@ -1,6 +1,6 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; @@ -20,6 +20,7 @@ /** * id */ + @TableId(type= IdType.AUTO) private Long id; /** @@ -38,13 +39,14 @@ private String parentCode; /** - * 地址类型 1 楼栋 2 单元 3 楼层 门牌号 + * 地址类型 1小区 2楼栋 3 单元 4楼层 5门牌号 */ - private boolean type; + private Integer type; /** * create_at */ + @TableField(fill = FieldFill.INSERT) private Date createAt; /** @@ -56,4 +58,8 @@ * 房屋面积 */ private Double square; + /** + * 状态 1 自主 2 租住 3 商用 + */ + private Integer state; } -- Gitblit v1.7.1