From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java new file mode 100644 index 0000000..bd53d26 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java @@ -0,0 +1,94 @@ +package com.panzhihua.common.model.vos.community; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; + +import java.util.Date; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: 社区动态 + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-12-08 17:25 + **/ +@Data +@ApiModel("社区活动 》社区动态") +public class ComActDynVO { + + @ApiModelProperty("主键") + private Long id; + + @ApiModelProperty("标题") + private String title; + + @ApiModelProperty("阅读数") + private Integer readNum; + + @ApiModelProperty("状态 0 待发布 1 已发布") + private Integer status; + + @ApiModelProperty("是否置顶 0 否 1 是") + private Integer isTopping; + + @ApiModelProperty(value = "发布时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date publishAt; + + @ApiModelProperty("创建时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createAt; + + @ApiModelProperty("修改时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date updateAt; + + @ApiModelProperty(value = "社区id",hidden = true) + private Long communityId; + + @ApiModelProperty(value = "当前页数",example = "1") + private Long pageNum; + + @ApiModelProperty(value = "每页记录数",example = "10") + private Long pageSize; + + @ApiModelProperty("发布搜索开始时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date publishAtBegin; + + @ApiModelProperty("发布搜索结束时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date publishAtEnd; + + @ApiModelProperty("动态内容富文本") + private String content; + + @ApiModelProperty("动态内容富文本--纯文本") + private String contentText; + + @ApiModelProperty(value = "社区名字") + private String communityName; + + @ApiModelProperty(value = "封面") + private String cover; + + @ApiModelProperty(value = "是否增加 1 增加 0 不增加") + private Integer isAdd; + + @ApiModelProperty(value = "社区动态分类id") + private Long type; + + @ApiModelProperty(value = "社区动态分类名称") + private String typeName; + + @ApiModelProperty(value = "社区动态分类颜色") + private String typeColor; + + @ApiModelProperty(value = "封面模式:1-小图展示 2-大图展示") + private Integer coverMode; + + @ApiModelProperty(value = "查询筛选:0-本小区 1-全部") + private Integer choice; +} -- Gitblit v1.7.1