From 6af3a9c58565a5616105d8c76b1cf91bae36d38a Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 16 六月 2021 21:25:41 +0800
Subject: [PATCH] 修改bug
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 102 insertions(+), 12 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java
index 617bbfd..98472fe 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java
@@ -1,9 +1,8 @@
package com.panzhihua.service_community.model.dos;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
+import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
+import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
import lombok.Data;
import java.io.Serializable;
@@ -11,26 +10,27 @@
@Data
@TableName(value = "com_mng_population")
+@EncryptDecryptClass
public class ComMngPopulationDO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 自增 id
*/
- @TableId(type = IdType.AUTO)
+ @TableId(type = IdType.INPUT)
private Long id;
/**
* 街道id
*/
- private Integer streetId;
+ private Long streetId;
/**
* 社区id
*/
- private Integer actId;
+ private Long actId;
/**
* 小区id(实有房屋id)
*/
- private Integer villageId;
+ private Long villageId;
/**
* 家庭成员(姓名)
*/
@@ -42,11 +42,17 @@
/**
* 年龄
*/
- private Integer age;
+// private Integer age;
/**
* 身份证号码
*/
+ @EncryptDecryptField
private String cardNo;
+
+ /**
+ * 临时用
+ */
+ private String cardNoStr;
/**
* 街路巷
*/
@@ -54,7 +60,7 @@
/**
* 门牌号
*/
- private Integer doorNo;
+ private String doorNo;
/**
* 楼排号
*/
@@ -62,11 +68,11 @@
/**
* 单元号
*/
- private Integer unitNo;
+ private String unitNo;
/**
* 户室(房间号)
*/
- private Integer houseNo;
+ private String houseNo;
/**
* 政治面貌(1.中共党员2.中共预备党员3.共青团员4.民革党员5.民盟盟员6.民建会员7.8.农工党党员9.致公党党员10.九三学社社员11.台盟盟员12.无党派人士13.群众)
*/
@@ -82,7 +88,16 @@
/**
* 联系方式
*/
+ @EncryptDecryptField
private String phone;
+ /**
+ * 外地or本地(1.本地 2.外地)
+ */
+ private Integer outOrLocal;
+ /**
+ * 户口所在地
+ */
+ private String censusRegister;
/**
* 备注
*/
@@ -94,10 +109,12 @@
/**
* 创建时间
*/
+ @TableField(fill = FieldFill.INSERT)
private Date createAt;
/**
* 修改时间
*/
+ @TableField(fill = FieldFill.UPDATE)
private Date updateAt;
/**
* 籍贯
@@ -117,5 +134,78 @@
@TableField(exist = false)
private String villageName;
+ /**
+ * 与户主关系(1.户主 2.配偶 3.子女 4.孙女 5.父母 6.其他)
+ */
+// private Integer relation;
+//
+// private String relationStr;
+
+ /**
+ * 文化程度(1.小学 2.初中 3.高中 4.中专 5.大专 6.本科 7.硕士 8.博士 9.其他)
+ */
+ private Integer cultureLevel;
+
+ /**
+ * 婚姻状况(1.未婚 2.已婚 3.离异 4.丧偶 5.分居 6.其他)
+ */
+ private Integer marriage;
+
+
+ /**
+ * 健康状况
+ */
+ private String healthy;
+
+ /**
+ * 房屋地址
+ */
+// private String houseAddress;
+
+ /**
+ * 出生年月日
+ */
+ private String birthday;
+
+ /**
+ * 居住地房屋id
+ */
+// private Long houseId;
+
+ /**
+ * 性别(1.男 2.女 3.未知)
+ */
+ public interface sex{
+ int nan = 1;
+ int nv = 2;
+ int no = 3;
+ }
+
+ /**
+ * 是否租住
+ */
+ public interface isOk{
+ int yes = 1;
+ int no = 0;
+ }
+
+ /**
+ * 政治面貌
+ */
+ public interface politicalOutlook{
+ int dang = 1;
+ int tuan = 3;
+ int wu = 12;
+ int qun = 13;
+ int no = 13;
+ }
+
+ /**
+ * 外地or本地(1.本地 2.外地)
+ */
+ public interface outOrLocal{
+ int bd = 1;
+ int wd = 2;
+ }
}
--
Gitblit v1.7.1