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/ComActNeighborCircleTopicDO.java | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 42 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleTopicDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleTopicDO.java index 9ec55cc..28f7e7b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleTopicDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleTopicDO.java @@ -10,7 +10,7 @@ import lombok.Data; /** - * @auther lyq + * @author lyq * @create 2021-07-06 15:04:37 * @describe 邻里圈话题表实体类 */ @@ -24,7 +24,7 @@ /** * 主键id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -52,9 +52,48 @@ */ private Long createBy; + /** + * 热度 + */ + private Long hotNum; + + /** + * 邻里圈数量 + */ + private Integer count; + + /** + * 使用类型(1.邻里圈 2.问题清单 3.需求清单) + */ + private Integer belongType; + + /** + * 话题logo + */ + private String logo; + + private Integer sort; + + /** + * 状态(1.启用 2.禁用) + */ + public interface status{ + int yes = 1; + int no = 2; + } + @Override public String toString() { return "ComActNeighborCircleTopicDO{" + "id=" + id + ", name=" + name + ", status=" + status + ", createAt=" + createAt + ", createBy=" + createBy + "}"; } -} \ No newline at end of file + + /** + * 使用类型(1.邻里圈 2.问题清单 3.需求清单) + */ + public interface BelongType{ + int LLQ = 1; + int WTQD = 2; + int XQQD = 3; + } +} -- Gitblit v1.7.1