/*
|
* 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_record")
|
@ApiModel(value = "TaskPlaceRecord对象", description = "消防自查详情记录表")
|
public class TaskPlaceRecordEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
|
/** 主键 */
|
@ApiModelProperty(value = "主键ID", example = "")
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/** 内容项id */
|
@ApiModelProperty(value = "内容项id", example = "")
|
@TableField("item_id")
|
private Long itemId;
|
|
/** 场所检查id */
|
@ApiModelProperty(value = "场所检查id", example = "")
|
@TableField("task_place_self_check_id")
|
private Long taskPlaceSelfCheckId;
|
|
/** 是否存在隐患 0:存在 1 不存在 */
|
@ApiModelProperty(value = "是否存在隐患 0:存在 1 不存在", example = "")
|
@TableField("state")
|
private Integer state;
|
|
/** 隐患备注 */
|
@ApiModelProperty(value = "隐患备注", example = "")
|
@TableField("remark")
|
private String remark;
|
|
/** 照片 */
|
@ApiModelProperty(value = "照片", example = "")
|
@TableField("image_urls")
|
private String imageUrls;
|
|
/** 创建人 */
|
@ApiModelProperty(value = "创建人", example = "")
|
@TableField("create_user")
|
private Long createUser;
|
|
/** 修改时间 */
|
@ApiModelProperty(value = "修改时间", example = "")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField(value = "create_time",fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/** 是否删除 0: 否 1:是 */
|
@ApiModelProperty(value = "是否删除 0: 否 1:是", example = "")
|
@TableField("is_deleted")
|
private Integer isDeleted;
|
|
/** 整改照片 */
|
@ApiModelProperty(value = "整改照片", example = "")
|
@TableField("rectification_image_urls")
|
private String rectificationImageUrls;
|
|
/** 整改描述 */
|
@ApiModelProperty(value = "整改描述", example = "")
|
@TableField("rectification_remark")
|
private String rectificationRemark;
|
|
/** 整改时间 */
|
@ApiModelProperty(value = "整改时间", example = "")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField("rectification_time")
|
private Date rectificationTime;
|
|
/** 1 自查 2.无诈 */
|
@ApiModelProperty(value = "1 自查 2.无诈 3:校园安全检查", example = "")
|
@TableField("type")
|
private String type;
|
|
/** 1:图片 2:ppt 3:其他 */
|
@ApiModelProperty(value = "1:图片 2:ppt 3:其他", example = "")
|
@TableField("file_type")
|
private String fileType;
|
|
@ApiModelProperty(value = "PDF图片地址", example = "")
|
@TableField("pdf_path")
|
private String pdfPath;
|
|
// 文件原名称
|
@ApiModelProperty(value = "文件原名称", example = "")
|
@TableField("original_name")
|
private String originalName;
|
}
|