4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
package com.web.basic.entity;
 
import com.app.base.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.system.user.entity.SysUser;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
 
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;
 
/**
 * @author 
 */
@Entity
@Table(name = TodoInfo.TABLE_NAME)
@DynamicUpdate
@ApiModel
public class TodoInfo extends BaseEntity {
    private static final long serialVersionUID = 7151771262953316256L;
    public static final String TABLE_NAME = "t_todo_info";
 
    /**
     * 用户ID
     */
    @ApiModelProperty(name="bsUserId",value="用户ID")
    @Column
    protected Long bsUserId;
 
//    @ApiModelProperty(name="todoerBy",hidden=true,value="待办人--user")
//    @ManyToOne
//    @JoinColumn(name = "bsUserId", insertable = false, updatable = false)
//    @NotFound(action = NotFoundAction.IGNORE)
//    protected SysUser todoerBy;
 
    /**
     * 页面路由
     */
    @ApiModelProperty(name="bsRouter",required=true,value="页面路由")
    @NotNull
    @Column(length = 50)
    protected String bsRouter;
 
    /**
     * 状态
     */
    @ApiModelProperty(name="bsStatus",required=true,value="状态")
    @Column
    protected int bsStatus;
 
    /**
     * 标题
     */
    @ApiModelProperty(name="bsTitle",required=true,value="标题")
    @Column(length = 200)
    protected String bsTitle;
 
    /**
     * 内容
     */
    @ApiModelProperty(name="bsContent",value="内容")
    @Column(length = 200)
    protected String bsContent;
 
    /**
     * 备注
     */
    @ApiModelProperty(name="bsRemark",value="备注")
    @Column(length = 500)
    protected String bsRemark;
 
    /**
     * 类型
     */
    @ApiModelProperty(name="bsType",required=true,value="类型")
    @NotNull
    @Column
    protected int bsType;
 
    /**
     * 优先级
     */
    @ApiModelProperty(name="bsPriority",required=true,value="优先级")
    @Column
    protected int bsPriority;
 
    /**
     * 开始日期
     */
    @ApiModelProperty(name="bsStartTime",value="开始日期")
    @Column
    @Temporal(TemporalType.TIMESTAMP)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    protected Date bsStartTime;
 
    /**
     * 截止日期
     */
    @ApiModelProperty(name="bsEndTime",value="截止日期")
    @Column
    @Temporal(TemporalType.TIMESTAMP)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    protected Date bsEndTime;
 
    /**
     * 关联ID
     */
    @ApiModelProperty(name="bsReferId",required=true,value="关联ID")
    @NotNull
    @Column
    protected Long bsReferId;
 
    /**
     * 扩展内容
     */
    @ApiModelProperty(name="bsExtend",required=true,value="扩展内容")
    @Column
    protected Long bsExtend;
 
    /**
     * 创建人
     */
    @ApiModelProperty(name="pkCreatedBy",hidden=true,value="创建人")
    @Column
    protected Long pkCreatedBy;
 
    /**
     * 修改人
     */
    @ApiModelProperty(name="pkModifiedBy",hidden=true,value="修改人")
    @Column
    protected Long pkModifiedBy;
 
//    @ApiModelProperty(name="createdBy",hidden=true,value="创建人--user")
//    @ManyToOne
//    @JoinColumn(name = "pkCreatedBy", insertable = false, updatable = false)
//    @NotFound(action = NotFoundAction.IGNORE)
//    protected SysUser createdBy;
 
//    @ApiModelProperty(name="modifiedBy",hidden=true,value="修改人--user")
//    @ManyToOne
//    @JoinColumn(name = "pkModifiedBy", insertable = false, updatable = false)
//    @NotFound(action = NotFoundAction.IGNORE)
//    protected SysUser modifiedBy;
 
    public Long getBsUserId() {
        return bsUserId;
    }
 
    public void setBsUserId(Long bsUserId) {
        this.bsUserId = bsUserId;
    }
 
//    public SysUser getTodoerBy() {
//        return todoerBy;
//    }
//
//    public void setTodoerBy(SysUser todoerBy) {
//        this.todoerBy = todoerBy;
//    }
 
    public String getBsRouter() {
        return bsRouter;
    }
 
    public void setBsRouter(String bsRouter) {
        this.bsRouter = bsRouter;
    }
 
    public int getBsStatus() {
        return bsStatus;
    }
 
    public void setBsStatus(int bsStatus) {
        this.bsStatus = bsStatus;
    }
 
    public String getBsTitle() {
        return bsTitle;
    }
 
    public void setBsTitle(String bsTitle) {
        this.bsTitle = bsTitle;
    }
 
    public String getBsContent() {
        return bsContent;
    }
 
    public void setBsContent(String bsContent) {
        this.bsContent = bsContent;
    }
 
    public String getBsRemark() {
        return bsRemark;
    }
 
    public void setBsRemark(String bsRemark) {
        this.bsRemark = bsRemark;
    }
 
    public int getBsType() {
        return bsType;
    }
 
    public void setBsType(int bsType) {
        this.bsType = bsType;
    }
 
    public int getBsPriority() {
        return bsPriority;
    }
 
    public void setBsPriority(int bsPriority) {
        this.bsPriority = bsPriority;
    }
 
    public Date getBsStartTime() {
        return bsStartTime;
    }
 
    public void setBsStartTime(Date bsStartTime) {
        this.bsStartTime = bsStartTime;
    }
 
    public Date getBsEndTime() {
        return bsEndTime;
    }
 
    public void setBsEndTime(Date bsEndTime) {
        this.bsEndTime = bsEndTime;
    }
 
    public Long getBsReferId() {
        return bsReferId;
    }
 
    public void setBsReferId(Long bsReferId) {
        this.bsReferId = bsReferId;
    }
 
    public Long getBsExtend() {
        return bsExtend;
    }
 
    public void setBsExtend(Long bsExtend) {
        this.bsExtend = bsExtend;
    }
 
    public Long getPkCreatedBy() {
        return pkCreatedBy;
    }
 
    public void setPkCreatedBy(Long pkCreatedBy) {
        this.pkCreatedBy = pkCreatedBy;
    }
 
    public Long getPkModifiedBy() {
        return pkModifiedBy;
    }
 
    public void setPkModifiedBy(Long pkModifiedBy) {
        this.pkModifiedBy = pkModifiedBy;
    }
//
//    public SysUser getCreatedBy() {
//        return createdBy;
//    }
//
//    public void setCreatedBy(SysUser createdBy) {
//        this.createdBy = createdBy;
//    }
 
//    public SysUser getModifiedBy() {
//        return modifiedBy;
//    }
//
//    public void setModifiedBy(SysUser modifiedBy) {
//        this.modifiedBy = modifiedBy;
//    }
}