CeDo
2021-05-07 de91c84954157bb9f8b6d938cbe0b1b51fb6e65d
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java
New file
@@ -0,0 +1,88 @@
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 = "分类:1-社区风采 2-社区动态")
    private Integer type;
    @ApiModelProperty(value = "封面模式:1-小图展示 2-大图展示")
    private Integer coverMode;
    @ApiModelProperty(value = "查询筛选:0-本小区 1-全部")
    private Integer choice;
}