mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.service_community.model.dos;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
 
/**
 * @auther lyq
 * @create 2021-08-23 10:33:11
 * @describe 预约登记表实体类
 */
 
@Data
@TableName("com_act_reserve")
public class ComActReserveDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 社区id
     */
    private Long communityId;
 
    /**
     * 类型(1.预约 2.登记)
     */
    private Integer type;
 
    /**
     * 主题
     */
    private String title;
 
    /**
     * 浏览量
     */
    private Integer viewNum;
 
    /**
     * 总参加人数
     */
    private Integer joinAllCount;
 
    /**
     * 参加人数
     */
    private Integer joinCount;
 
    /**
     * 图标类型(1.预设1 2.预设2 3.预设3 4.预设4 5.用户自定义图片)
     */
    private Integer imgType;
 
    /**
     * 图标url(当img_type为5时,此字段的值为图标url地址)
     */
    private String imgUrl;
 
    /**
     * 状态(1.待发布 2.进行中 3.已停止)
     */
    private Integer status;
 
    /**
     * 发布时间
     */
    private Date publishTime;
 
    /**
     * 是否可重复提交(1.是 2.否)
     */
    private Integer isRepeat;
 
    /**
     * 备注
     */
    private String remark;
 
    /**
     * 组件json数据
     */
    private String jsonObject;
 
    /**
     * 是否是首页顶部(1.是 2.否)
     */
    private Integer adverPositionTop;
 
    /**
     * 是否是首页应用(1.是 2.否)
     */
    private Integer adverPositionApplication;
 
    /**
     * 创建时间
     */
    private Date createAt;
 
    /**
     * 创建人
     */
    private Long createBy;
 
    /**
     * 修改时间
     */
    private Date updateAt;
 
    /**
     * 修改人
     */
    private Long updateBy;
 
    /**
     * 结束时间
     */
    @TableField(value = "end_time", updateStrategy  = FieldStrategy.IGNORED)
    private Date endTime;
 
    /**
     * 是否已删除(1.是 2.否)
     */
    private Integer isDel;
 
    /**
     * 默认是否枚举(1.是 2.否)
     */
    public interface isOk{
        int yes = 1;
        int no = 2;
    }
 
    /**
     * 预约登记状态枚举(1.待发布 2.进行中 3.已停止)
     */
    public interface status{
        int dfb = 1;
        int jxz = 2;
        int ytz = 3;
    }
 
    @Override
    public String toString() {
        return "ComActReserveDO{" +
                "id=" + id +
                ", communityId=" + communityId +
                ", type=" + type +
                ", title=" + title +
                ", viewNum=" + viewNum +
                ", joinAllCount=" + joinAllCount +
                ", joinCount=" + joinCount +
                ", imgType=" + imgType +
                ", imgUrl=" + imgUrl +
                ", status=" + status +
                ", publishTime=" + publishTime +
                ", isRepeat=" + isRepeat +
                ", remark=" + remark +
                ", jsonObject=" + jsonObject +
                ", adverPositionTop=" + adverPositionTop +
                ", adverPositionApplication=" + adverPositionApplication +
                ", createAt=" + createAt +
                ", createBy=" + createBy +
                ", updateAt=" + updateAt +
                ", updateBy=" + updateBy +
                "}";
    }
    public interface isRepeat{
        int yes=1;
        int no=2;
    }
}