/* * 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.util.Date; /** * 校园安全检查任务表 实体类 * * @author BladeX * @since 2023-11-06 */ @Data @TableName("jczz_task_campus_reporting_event") @ApiModel(value = "TaskCampusReportingEvent对象", description = "校园安全检查任务表") public class TaskCampusReportingEventEntity { /** 主键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; }