101captain
2021-09-22 1775bb71f952106c58657cf02891cbe2a286c8f8
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import lombok.Data;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 议事投票
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2021-01-22 14:48
 **/
@Data
@TableName(value = "com_act_discuss")
public class ComActDiscussDO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**
     * 主题
     */
    private String discussSubject;
 
    /**
     * 类型 1 议事 2 投票
     */
    private Integer type;
 
    /**
     * 图片地址 多个用逗号隔开
     */
    private String photoPah;
 
    /**
     * 地址
     */
    private String address;
 
    /**
     * 发布人主键
     */
    private Long userId;
 
    /**
     * 社区主键
     */
    private Long communityId;
 
    /**
     * create_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 1 单选 2 多选
     */
    private Integer discussOption;
 
    /**
     * 投票标题
     */
    private String voteTitle;
 
    /**
     * 是否可重复投票(1.是 2.否)
     */
    private Integer isRepeat;
 
    /**
     * 每人票数
     */
    private Integer count;
 
    /**
     * 单张图片宽度
     */
    private BigDecimal imgWidth;
 
    /**
     * 单张图片高度
     */
    private BigDecimal imgHeight;
 
    /**
     * 开始时间
     */
    private Date startTime;
 
    /**
     * 结束时间
     */
    private Date endTime;
 
    /**
     * 评论数
     */
    private Integer commentNum;
 
    /**
     * 点赞数
     */
    private Integer fabulousNum;
 
    /**
     * 浏览量
     */
    private Integer viewsNum;
 
    /**
     * 参与人数
     */
    private Integer joinNum;
 
    /**
     * 状态(1.未开始 2.进行中 3.待公布 4.已公布 5.已发布)
     */
    private Integer status;
 
    /**
     * 是否已删除(1.是 2.否)
     */
    private Integer isDel;
 
    /**
     * 公布结果
     */
    private String publishResult;
 
    /**
     * 公布时间
     */
    private Date publishAt;
 
    /**
     * 发布时间
     */
    private Date releaseAt;
 
    /**
     * 修改时间
     */
    private Date updateAt;
 
    /**
     * 公布人id
     */
    private Long publishBy;
 
    /**
     * 类型 1 议事 2 投票
     */
    public interface type{
        int ys = 1;
        int tp = 2;
    }
 
    /**
     * 是否枚举(1.是  2.否)
     */
    public interface isOk{
        int yes = 1;
        int no = 2;
    }
 
    /**
     * 状态(1.未开始 2.进行中 3.待公布 4.已公布 5.已发布)
     */
    public interface status{
        int wks = 1;
        int jxz = 2;
        int dgb = 3;
        int ygb = 4;
        int yfb = 5;
    }
 
}