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/ComPensionAuthRecordDO.java |   67 ++++++++++++++++++++-------------
 1 files changed, 40 insertions(+), 27 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
index 730fda2..cd2ab5d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
@@ -3,7 +3,9 @@
 import java.io.Serializable;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 
@@ -25,7 +27,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
     /**
      *养老金用户id
@@ -35,15 +37,16 @@
      *提交用户id
      */
     private Long submitUserId;
+
+    /**
+     * 认证方式(1.视频认证 2.人脸认证 3.线下认证)
+     */
+    private Integer authMethod;
+
     /**
      *认证期数
      */
     private String authPeriod;
-
-    /**
-     * 身份认证方式 1.视频认证 2.人脸认证
-     */
-    private Integer type;
 
     /**
      * 人脸核验结果数据
@@ -54,7 +57,6 @@
      * 认证视频
      */
     private String authVideo;
-
     /**
      * 现居地址
      */
@@ -83,38 +85,49 @@
     /**
      *认证状态(1.已认证 0.未认证)
      */
-    private Boolean authStatus;
+    private Integer authStatus;
     /**
      *认证时间
      */
     private Date authDate;
     /**
+     *社区id
+     */
+    private Long communityId;
+    /**
      *创建时间
      */
+    @TableField(fill = FieldFill.INSERT)
     private Date createAt;
     /**
      *更新时间
      */
+    @TableField(fill = FieldFill.UPDATE)
     private Date updateAt;
 
-    @Override
-    public String toString() {
-        return "ComPensionAuthRecordDO{" +
-                "id=" + id +
-                ", pensionerId=" + pensionerId +
-                ", submitUserId=" + submitUserId +
-                ", authPeriod='" + authPeriod + '\'' +
-                ", authVideo='" + authVideo + '\'' +
-                ", address='" + address + '\'' +
-                ", approverId='" + approverId + '\'' +
-                ", approvalStatus=" + approvalStatus +
-                ", approvalDate=" + approvalDate +
-                ", mark='" + mark + '\'' +
-                ", rejectReason='" + rejectReason + '\'' +
-                ", authStatus=" + authStatus +
-                ", authDate=" + authDate +
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                '}';
+    /**
+     *审核状态(1.待审核 2.驳回 3.通过)
+     */
+    public interface approvalStatus{
+        int dsh = 1;
+        int bh = 2;
+        int tg = 3;
+    }
+
+    /**
+     *认证状态(1.已认证 0.未认证)
+     */
+    public interface authStatus{
+        int rez = 1;
+        int wrz = 0;
+    }
+
+    /**
+     * 认证方式(1.视频认证 2.人脸认证 3.线下认证)
+     */
+    public interface authMethod{
+        int sprz = 1;
+        int rlrz = 2;
+        int xxrz = 3;
     }
 }

--
Gitblit v1.7.1