/* * 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 lombok.Data; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; /** * 旅馆安全自查任务 实体类 * * @author BladeX * @since 2023-11-06 */ @Data @TableName("jczz_task_hotel_reporting") @ApiModel(value = "TaskHotelReporting对象", description = "旅馆安全自查任务") public class TaskHotelReportingEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("主键id") @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; /** * 任务id */ @ApiModelProperty(value = "任务id") private Long taskId; /** * 酒店名称 */ @ApiModelProperty(value = "酒店名称") private String hotelName; /** * 场所ID */ @ApiModelProperty(value = "场所ID") private Long placeId; // /** // * 小区ID // */ // @ApiModelProperty(value = "小区ID") // private String districtId; // /** // * 小区名称 // */ // @ApiModelProperty(value = "小区名称") // private String districtName; /** * 自查时间 */ @ApiModelProperty(value = "自查时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date checkTime; /** * 自查人姓名 */ @ApiModelProperty(value = "自查人姓名") private Long checkUserId; /** * 自查人姓名 */ @ApiModelProperty(value = "自查人姓名") private String checkUserName; /** * 自查人手机 */ @ApiModelProperty(value = "自查人手机") private String checkTelephone; /** * 自查位置 */ @ApiModelProperty(value = "自查位置") private String location; /** * 灭火器数量 */ @ApiModelProperty(value = "灭火器数量") private Integer fireNums; /** * 灭火器状态 */ @ApiModelProperty(value = "灭火器状态") private String fireStatus; /** * 灭火器图片 */ @ApiModelProperty(value = "灭火器图片") private String fireImageUrls; /** * 安全通道状态 */ @ApiModelProperty(value = "安全通道状态") private String scStatus; /** * 安全通道图片 */ @ApiModelProperty(value = "安全通道图片") private String scImageUrls; /** * 技防设施有无 */ @ApiModelProperty(value = "技防设施有无") private String pfFlag; /** * 技防设施名称 */ @ApiModelProperty(value = "技防设施名称") private String pfName; /** * 技防设施照片 */ @ApiModelProperty(value = "技防设施照片") private String pfImageUrls; /** * 接待未成年人需要做到五个必须 */ @ApiModelProperty(value = "接待未成年人需要做到五个必须") private String fiveMust; /** * 未成年人入住登记本照片 */ @ApiModelProperty(value = "未成年人入住登记本照片") private String uanImageUrls; /** * 是否完全实名制登记 */ @ApiModelProperty(value = "是否完全实名制登记") private String realName; /** * 安全通道有无 */ @ApiModelProperty(value = "安全通道有无") private String scFlag; /** * 确认时间 */ @ApiModelProperty(value = "确认时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date confirmTime; /** * 确认用户ID */ @ApiModelProperty(value = "确认用户ID") private Long confirmUserId; /** * 确认用户姓名 */ @ApiModelProperty(value = "确认用户姓名") private String confirmUserName; /** * 确认意见 */ @ApiModelProperty(value = "确认意见") private String confirmNotion; /** * 确认标记 1:待审核 2:审核通过 3:审核不通过 4:待上报(场所负责人完善,由系统下发的任务) */ @ApiModelProperty(value = "确认标记 1:待审核 2:审核通过 3:审核不通过 4:待上报(场所负责人完善,由系统下发的任务)") private String confirmFlag; /** * 来源: 1:主动上报 2:系统自动下发 */ @ApiModelProperty(value = "来源: 1:主动上报 2:系统自动下发") private Integer source; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; /** * 创建人 */ @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("创建人") @TableField(fill = FieldFill.INSERT) private String 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; @ApiModelProperty("事件类型:0 :旅馆 1:九小场所") @TableField("event_type") private Integer eventType; }