huanghongfa
2021-01-05 d9eee1919dbff7ffddc48b1f4fee2ec41a54a2a2
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActDynVO.java
New file
@@ -0,0 +1,70 @@
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(value = "社区名字")
    private String communityName;
}