zhongrj
2024-03-20 4759cadeca91e4ddcf374fb29fc9f8b91bedec11
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
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 校园安全检查任务表 实体类
 *
 * @author BladeX
 * @since 2023-11-06
 */
@Data
@TableName("jczz_task_campus_reporting_event")
@ApiModel(value = "TaskCampusReportingEvent对象", description = "校园安全检查任务表")
public class TaskCampusReportingEventEntity  implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /** 主键id */
    @ApiModelProperty(value = "主键ID", example = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /** 任务ID */
    @ApiModelProperty(value = "任务ID", example = "")
    @TableField("task_id")
    private Long taskId;
 
    /** 场所ID */
    @ApiModelProperty(value = "场所ID", example = "")
    @TableField("place_id")
    private Long placeId;
 
//    /** 小区ID */
//    @ApiModelProperty(value = "小区ID", example = "")
//    @TableField("district_id")
//    private String districtId;
//
//    /** 小区名称 */
//    @ApiModelProperty(value = "小区名称", example = "")
//    @TableField("district_name")
//    private String districtName;
 
    /** 自查时间 */
    @ApiModelProperty(value = "自查时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("check_time")
    private Date checkTime;
 
    /** 自查人姓名 */
    @ApiModelProperty(value = "自查人姓名", example = "")
    @TableField("check_user_id")
    private Long checkUserId;
 
    /** 自查人姓名 */
    @ApiModelProperty(value = "自查人姓名", example = "")
    @TableField("check_user_name")
    private String checkUserName;
 
    /** 自查人手机 */
    @ApiModelProperty(value = "自查人手机", example = "")
    @TableField("check_telephone")
    private String checkTelephone;
 
    /** 自查位置 */
    @ApiModelProperty(value = "自查位置", example = "")
    @TableField("location")
    private String location;
 
    /** 安全通道状态 */
    @ApiModelProperty(value = "安全通道状态", example = "")
    @TableField("sc_status")
    private String scStatus;
 
    /** 安全通道图片 */
    @ApiModelProperty(value = "安全通道图片", example = "")
    @TableField("sc_image_urls")
    private String scImageUrls;
 
    /** 未成年人入住登记本照片 */
    @ApiModelProperty(value = "未成年人入住登记本照片", example = "")
    @TableField("uan_image_urls")
    private String uanImageUrls;
 
    /** 确认时间 */
    @ApiModelProperty(value = "确认时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("confirm_time")
    private Date confirmTime;
 
    /** 确认用户ID */
    @ApiModelProperty(value = "确认用户ID", example = "")
    @TableField("confirm_user_id")
    private Long confirmUserId;
 
    /** 确认用户ID */
    @ApiModelProperty(value = "确认用户ID", example = "")
    @TableField("confirm_user_name")
    private String confirmUserName;
 
    /** 确认意见 */
    @ApiModelProperty(value = "确认意见", example = "")
    @TableField("confirm_notion")
    private String confirmNotion;
 
    /**
     * 确认标记 1:待审核  2:审核通过  3:审核不通过  4:待上报(场所负责人完善,由系统下发的任务)
     */
    @ApiModelProperty(value = "确认标记 1:待审核  2:审核通过  3:审核不通过  4:待上报(场所负责人完善,由系统下发的任务)", example = "")
    @TableField("confirm_flag")
    private String confirmFlag;
 
    /** 校园名称 */
    @ApiModelProperty(value = "校园名称", example = "")
    @TableField("campus_name")
    private String campusName;
 
    /** 四个一 */
    @ApiModelProperty(value = "四个一", example = "")
    @TableField("four_one")
    private String fourOne;
 
    /** 消防器材数量 */
    @ApiModelProperty(value = "消防器材数量", example = "")
    @TableField("fire_facs_nums")
    private Integer fireFacsNums;
 
    /** 消防器材状态 */
    @ApiModelProperty(value = "消防器材状态", example = "")
    @TableField("fire_facs_status")
    private String fireFacsStatus;
 
    /** 消防器材图片 */
    @ApiModelProperty(value = "消防器材图片", example = "")
    @TableField("fire_facs_image_urls")
    private String fireFacsImageUrls;
 
    /** 消防器材种类 */
    @ApiModelProperty(value = "消防器材种类", example = "")
    @TableField("fire_facs_type")
    private String fireFacsType;
 
    /** 校园周边安全巡查照片 */
    @ApiModelProperty(value = "校园周边安全巡查照片", example = "")
    @TableField("patrol_image_urls")
    private String patrolImageUrls;
 
    /** 学校大门是否配备防撞装置 */
    @ApiModelProperty(value = "学校大门是否配备防撞装置", example = "")
    @TableField("anti_collision")
    private String antiCollision;
 
    /** 校园防撞装置照片 */
    @ApiModelProperty(value = "校园防撞装置照片", example = "")
    @TableField("anti_collision_image_urls")
    private String antiCollisionImageUrls;
 
    /** 专职保安人数 */
    @ApiModelProperty(value = "专职保安人数", example = "")
    @TableField("full_so_nums")
    private Integer fullSoNums;
 
    /** 兼职保安人数 */
    @ApiModelProperty(value = "兼职保安人数", example = "")
    @TableField("part_so_nums")
    private Integer partSoNums;
 
    /** 学校监控总数 */
    @ApiModelProperty(value = "学校监控总数", example = "")
    @TableField("monitor_nums")
    private Integer monitorNums;
 
    /** 监控是否全覆盖 */
    @ApiModelProperty(value = "监控是否全覆盖", example = "")
    @TableField("monitor_over")
    private String monitorOver;
 
    /** 高空抛物监控 */
    @ApiModelProperty(value = "高空抛物监控", example = "")
    @TableField("high_altitude_monitor")
    private String highAltitudeMonitor;
 
    /**
     * 高空抛物监控照片
     */
    @ApiModelProperty(value = "高空抛物监控照片", example = "")
    @TableField("ha_image_urls")
    private String haImageUrls;
 
    /**
     * 四个一工程照片
     */
    @ApiModelProperty(value = "四个一工程照片", example = "")
    @TableField("fo_image_urls")
    private String foImageUrls;
 
    /**
     * 来源: 1:主动上报  2:系统自动下发
     */
    @ApiModelProperty(value = "来源: 1:主动上报  2:系统自动下发")
    private Integer source;
 
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
 
    /**
     * 创建人
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    /**
     * 更新人
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("更新人")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
 
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    /**
     * 是否已删除 0:否  1:是
     */
    @ApiModelProperty("是否已删除")
    private Integer isDeleted;
 
}