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/ComActNeighborCircleDO.java | 118 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 91 insertions(+), 27 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java index 969772c..272dd76 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java @@ -1,14 +1,16 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; - import java.io.Serializable; import java.util.Date; +import com.baomidou.mybatisplus.annotation.*; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; /** - * @auther lyq + * @author lyq * @create 2021-04-28 09:20:49 * @describe 邻里圈表实体类 */ @@ -22,7 +24,7 @@ /** * 主键id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -91,6 +93,7 @@ @TableField(fill = FieldFill.INSERT) private Date createAt; + private String instruction; /** * 最后回复时间 */ @@ -112,14 +115,77 @@ private Integer lastViewsNum; /** - * 发布类型(1.小程序发布 2.后台发布) + * 话题id + */ + private Long topicId; + + /** + * 发布类型(1.小程序发布 2.后台发布) */ private Integer type; /** + * 热度 + */ + private Long hotNum; + + /** + * 是否已删除(1.是 2.否) + */ + private Integer isDel; + + /** + * 使用类型(1.邻里圈 2.问题清单 3.需求清单) + */ + private Integer belongType; + + private Integer solveStatus; + + private Integer orderStatus; + + private Long solveId; + + private String solveContent; + + private String solveUrl; + + private Date orderTime; + + private Date solveTime; + + private Date commentTime; + + private String comment; + + private Integer orderType; + + private Integer helpMemberType; + + private String helpMemberContent; + + private Integer helpOrgType; + + private String helpOrgContent; + + private Long solveUnitId; + + private String realServiceTime; + + private String targetServiceTime; + + @Override + public String toString() { + return "ComActNeighborCircleDO{" + "id=" + id + ", releaseId=" + releaseId + ", releasePhone=" + releasePhone + + ", communityId=" + communityId + ", releaseContent=" + releaseContent + ", releaseImages=" + releaseImages + + ", status=" + status + ", refuseReason=" + refuseReason + ", commentNum=" + commentNum + ", fabulousNum=" + + fabulousNum + ", forwardNum=" + forwardNum + ", isBoutique=" + isBoutique + ", createAt=" + createAt + + "}"; + } + + /** * 发布状态(1.待审核 2.显示 3.隐藏 4.驳回) */ - public interface status{ + public interface status { int dsh = 1; int xs = 2; int yc = 3; @@ -127,29 +193,27 @@ } /** - * 发布类型(1.小程序发布 2.后台发布) + * 发布类型(1.小程序发布 2.后台发布) */ - public interface type{ + public interface type { int mini = 1; int admin = 2; } - @Override - public String toString() { - return "ComActNeighborCircleDO{" + - "id=" + id + - ", releaseId=" + releaseId + - ", releasePhone=" + releasePhone + - ", communityId=" + communityId + - ", releaseContent=" + releaseContent + - ", releaseImages=" + releaseImages + - ", status=" + status + - ", refuseReason=" + refuseReason + - ", commentNum=" + commentNum + - ", fabulousNum=" + fabulousNum + - ", forwardNum=" + forwardNum + - ", isBoutique=" + isBoutique + - ", createAt=" + createAt + - "}"; + /** + * 是否已删除(1.是 2.否) + */ + public interface isDel{ + int yes = 1; + int no = 2; } -} \ 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