/* * 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 lombok.Data; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import java.util.Date; /** * 消防自查记任务表 实体类 * * @author BladeX * @since 2024-02-04 */ @Data @TableName("jczz_task_place_self_check") @ApiModel(value = "TaskPlaceSelfCheck对象", description = "消防自查记任务表") public class TaskPlaceSelfCheckEntity { private static final long serialVersionUID = 1L; /** id */ @ApiModelProperty(value = "主键ID", example = "") @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; /** 任务id */ @ApiModelProperty(value = "任务id", example = "") @TableField("task_id") private Long taskId; /** 任务名称 */ @ApiModelProperty(value = "任务名称", example = "") @TableField("task_name") private String taskName; /** 场所名称 */ @ApiModelProperty(value = "场所名称", example = "") @TableField("place_name") private String placeName; /** 隐患内容 */ @ApiModelProperty(value = "隐患内容", example = "") @TableField("remark") private String remark; /** 更新时间 */ @ApiModelProperty(value = "更新时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "update_time",fill = FieldFill.UPDATE) private Date updateTime; /** 创建时间 */ @ApiModelProperty(value = "创建时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(value = "create_time",fill = FieldFill.INSERT) private Date createTime; /** 门牌地址编码 */ @ApiModelProperty(value = "门牌地址编码", example = "") @TableField("house_code") private String houseCode; /** 整改截止时间 */ @ApiModelProperty(value = "整改截止时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField("rectification_end_time") private Date rectificationEndTime; /** 整改完成时间 */ @ApiModelProperty(value = "整改完成时间", example = "") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField("rectification_complete_time") private Date rectificationCompleteTime; /** 是否整改完毕:1:否 2 :是 */ @ApiModelProperty(value = "是否整改完毕:1:否 2 :是 3:无需整改", example = "") @TableField("rectification_flag") private Integer rectificationFlag; /** 派出所 */ @ApiModelProperty(value = "派出所", example = "") @TableField("police_station") private String policeStation; /** 整改通知书地址 */ @ApiModelProperty(value = "整改通知书地址", example = "") @TableField("rectification_notice_img_url") private String rectificationNoticeImgUrl; /** 签名路径 */ @ApiModelProperty(value = "签名路径", example = "") @TableField("signature_path") private String signaturePath; /** 创建人 */ @ApiModelProperty(value = "创建人", example = "") @TableField("create_user") private Long createUser; /** 照片 */ @ApiModelProperty(value = "照片", example = "") @TableField("image_urls") private String imageUrls; /** 任务状态: 1:待接收 2:审核中 3:审核通过 4:审核不通过 */ @ApiModelProperty(value = "任务状态: 1:待接收 2:审核中 3:审核通过 4:审核不通过", example = "") @TableField("status") private Integer status; /** 0:否 1:是 */ @ApiModelProperty(value = "0:否 1:是", example = "") @TableField("delete_flag") private Integer deleteFlag; /** 1:消防自查 2:校园安全检查 */ @ApiModelProperty(value = "1:消防自查 2:校园安全检查", example = "") @TableField("type") private String type; /** 1:否 2:是 */ @ApiModelProperty(value = "1:否 2:是", example = "") @TableField("send_sms_flag") private String sendSmsFlag; }