huanghongfa
2021-08-21 2e64c232ab6b51b2cecf1ee96e1e9b709234f326
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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;
}