From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngPopulationDO.java |  199 ++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 155 insertions(+), 44 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 a144249..04bab5f 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,12 +1,13 @@
 package com.panzhihua.service_community.model.dos;
 
+import java.io.Serializable;
+import java.util.Date;
+
 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;
-import java.util.Date;
+import lombok.Data;
 
 @Data
 @TableName(value = "com_mng_population")
@@ -17,7 +18,7 @@
     /**
      * 自增 id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
     /**
      * 街道id
@@ -42,12 +43,28 @@
     /**
      * 年龄
      */
-    private Integer age;
+    // private Integer age;
+
+    /**
+     * 证件类型
+     */
+    private String certificateType;
     /**
      * 身份证号码
      */
     @EncryptDecryptField
     private String cardNo;
+
+    /**
+     * 临时用
+     */
+    private String cardNoStr;
+
+    /**
+     * 默认为身份证到期时间,可以是其他证件到期时间
+     */
+    private Date cardNoExpirationDate;
+
     /**
      * 街路巷
      */
@@ -73,7 +90,7 @@
      */
     private Integer politicalOutlook;
     /**
-     * 工作单位
+     * 工作单位/学校
      */
     private String workCompany;
     /**
@@ -86,53 +103,48 @@
     @EncryptDecryptField
     private String phone;
     /**
-     * 外地or本地(1.本地  2.外地)
+     * 外地or本地(1.本地 2.外地)
      */
     private Integer outOrLocal;
     /**
      * 户口所在地
      */
     private String censusRegister;
+
     /**
-     * 备注
+     * 人员类型(1、户籍人口2、留守人员3、外地人员4、境外人员5、流动人口6、常住人口7、暂住人口)
      */
-    private String remark;
+    private String personType;
+
     /**
-     * 标签集合(多个标签以,隔开)
+     * 国家code(取字典表国家标准编码)
      */
-    private String label;
+    private String country;
+
     /**
-     * 创建时间
+     * 离开日期(境外人员填写)
      */
-    @TableField(fill = FieldFill.INSERT)
-    private Date createAt;
-    /**
-     * 修改时间
-     */
-    @TableField(fill = FieldFill.UPDATE)
-    private Date updateAt;
+    private Date dateOfDeparture;
+
     /**
      * 籍贯
      */
     private String nativePlace;
+
+    /**
+     * 民族code,从字典表取国家标准码
+     */
+    private String nationCode;
+
     /**
      * 民族
      */
     private String nation;
+
     /**
      * 是否租住(0.否 1.是)
      */
     private Integer isRent;
-    /**
-     * 小区名字
-     */
-    @TableField(exist = false)
-    private String villageName;
-
-    /**
-     * 与户主关系(1.户主 2.配偶 3.子女 4.孙女 5.父母 6.其他)
-     */
-    private Integer relation;
 
     /**
      * 文化程度(1.小学 2.初中 3.高中 4.中专 5.大专 6.本科 7.硕士 8.博士 9.其他)
@@ -150,9 +162,49 @@
     private String healthy;
 
     /**
-     * 房屋地址
+     * 血型
      */
-    private String houseAddress;
+    private String bloodType;
+
+    /**
+     * 宗教信仰
+     */
+    private String religion;
+
+    /**
+     * 职业
+     */
+    private String profession;
+
+    /**
+     * 人员状态:正常、失联、出国(取字典表)
+     */
+    private String personStatus;
+
+    /**
+     * 是否死亡 1是 、0否
+     */
+    private String death;
+
+    /**
+     * 头像图片地址
+     */
+    private String headPortrait;
+
+    /**
+     * 月收入情况
+     */
+    private String monthlyIncome;
+
+    /**
+     * 家庭情况(取字典表国家标准编码)
+     */
+    private String familyStatus;
+
+    /**
+     * 来华目的(境外人员填写)
+     */
+    private String goalInChina;
 
     /**
      * 出生年月日
@@ -160,24 +212,83 @@
     private String birthday;
 
     /**
-     * 房屋状态(1.自住 2.租住 3.其他)
+     * 抵达日期(境外人员填写)
      */
-    private Integer houseStatus;
+    private Date dateOfArrival;
 
     /**
-     * 房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)
+     * 标签集合(多个标签以,隔开)
      */
-    private Integer housePurpose;
+    @TableField(fill = FieldFill.UPDATE,updateStrategy = FieldStrategy.IGNORED)
+    private String label;
 
     /**
-     * 管控状态(1.常规 2.关注 3.管控)
+     * 证件照(人面像)照片
      */
-    private Integer controlStatus;
+    private String cardPhotoFront;
 
     /**
-     * 是否是居住地(1.是 2.否)
+     * 证件照(国徽面)照片
      */
-    private Integer isResidence;
+    private String cardPhotoBack;
+
+    /**
+     * 户口本照片
+     */
+    private String familyBook;
+
+    /**
+     * 删除标识
+     */
+    private Integer deleteFlag;
+
+    /**
+     * 备注
+     */
+    private String remark;
+    /**
+     * 创建时间
+     */
+    @TableField(fill = FieldFill.INSERT)
+    private Date createAt;
+
+    /**
+     * 创建用戶
+     */
+    private Long createBy;
+    /**
+     * 修改时间
+     */
+    @TableField(fill = FieldFill.UPDATE)
+    private Date updateAt;
+
+    /**
+     * 修改用戶
+     */
+    private Long updateBy;
+
+    /**
+     * 小区名字
+     */
+    @TableField(exist = false)
+    private String villageName;
+
+    /**
+     * 与户主关系(1.户主 2.配偶 3.子女 4.孙女 5.父母 6.其他)
+     */
+    // private Integer relation;
+    //
+    // private String relationStr;
+
+    /**
+     * 是否居住地
+     */
+    private String residence;
+
+    /**
+     * 居住地址
+     */
+    private String address;
 
     /**
      * 居住地房屋id
@@ -187,7 +298,7 @@
     /**
      * 性别(1.男 2.女 3.未知)
      */
-    public interface sex{
+    public interface sex {
         int nan = 1;
         int nv = 2;
         int no = 3;
@@ -196,7 +307,7 @@
     /**
      * 是否租住
      */
-    public interface isOk{
+    public interface isOk {
         int yes = 1;
         int no = 0;
     }
@@ -204,7 +315,7 @@
     /**
      * 政治面貌
      */
-    public interface politicalOutlook{
+    public interface politicalOutlook {
         int dang = 1;
         int tuan = 3;
         int wu = 12;
@@ -213,9 +324,9 @@
     }
 
     /**
-     * 外地or本地(1.本地  2.外地)
+     * 外地or本地(1.本地 2.外地)
      */
-    public interface outOrLocal{
+    public interface outOrLocal {
         int bd = 1;
         int wd = 2;
     }

--
Gitblit v1.7.1