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/ComActActPictureDO.java |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActPictureDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActPictureDO.java
index d77e68b..a070cef 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActPictureDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActPictureDO.java
@@ -24,13 +24,18 @@
     /**
     * 主键id
     */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
     * 所属活动id
     */
     private Long activityId;
+
+    /**
+     * 类型(1.党建 2.节日 3.天气预报 4.疫情 5.灾害预警 6.志愿者)
+     */
+    private Integer type;
 
     /**
     * 用户id, 和用户信息表的相关id关联
@@ -53,15 +58,9 @@
     */
     private String pictureName;
 
-@Override
-public String toString() {
-        return "ComActActPictureDO{" +
-                "id=" + id +
-                ", activityId=" + activityId +
-                ", userId=" + userId +
-                ", createAt=" + createAt +
-                ", uploadPicture=" + uploadPicture +
-                ", pictureName=" + pictureName +
-        "}";
-        }
+    /**
+     * 是否系统预置(1.是 0.否)
+     */
+    private Integer sysFlag;
+
 }
\ No newline at end of file

--
Gitblit v1.7.1