/* * 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.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; 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 = "旅馆安全自查任务") @EqualsAndHashCode(callSuper = true) public class TaskHotelReportingEntity extends TenantEntity { /** * 任务id */ @ApiModelProperty(value = "任务id") private Long taskId; /** * 酒店名称 */ @ApiModelProperty(value = "酒店名称") private String hotelName; /** * 场所ID */ @ApiModelProperty(value = "场所ID") private Integer 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 = "确认时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date confirmTime; /** * 确认用户ID */ @ApiModelProperty(value = "确认用户ID") private Integer confirmUserId; /** * 确认用户ID */ @ApiModelProperty(value = "确认用户ID") private String confirmUserName; /** * 安全通道有无 */ @ApiModelProperty(value = "安全通道有无") private String scFlag; /** * 确认意见 */ @ApiModelProperty(value = "确认意见") private String confirmNotion; /** * 确认标记 */ @ApiModelProperty(value = "确认标记") private String confirmFlag; @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; @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; }