/*
 *      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.security.trans.dailyDuties.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.FlowEntity;

/**
 * 任务-设备检查明细实体类
 *
 * @author BladeX
 * @since 2022-03-25
 */
@Data
@TableName("T_DEVICE_INSPECTION_LINE")
@ApiModel(value = "DeviceInspectionLine对象", description = "任务-设备检查明细")
public class DeviceInspectionLine extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 设备检查表ID
	 */
	@ApiModelProperty(value = "设备检查表ID")
	@TableField("FORM_ID")
	private String formId;
	/**
	 * 检查项名称
	 */
	@ApiModelProperty(value = "检查项名称")
	@TableField("NAME")
	private String name;
	/**
	 * 检查结果
	 */
	@ApiModelProperty(value = "检查结果")
	@TableField("RESULT")
	private String result;
	/**
	 * 问题严重程度(1-正常，2-异常)
	 */
	@ApiModelProperty(value = "问题严重程度(1-正常，2-异常)")
	@TableField("PROBLEM_LEVEL")
	private String problemLevel;

	/**
	 * 整改结果状态(1-正常，2-告警)
	 */
	@ApiModelProperty(value = "整改结果状态(1-正常，2-告警)")
	@TableField("RECTIFICATION_STATUS")
	private String rectificationStatus;

	/**
	 * 状态（4-检查中;5-检查完成，6-待整改，7-整改完成，8-超期未检查）
	 */
	@ApiModelProperty(value = "状态（4-检查中;5-检查完成，6-待整改，7-整改完成，8-超期未检查）")
	@TableField("STATUS")
	private String status;

	/**
	 * 状态;0-待检 1-已检 2-已整改
	 */
	@ApiModelProperty(value = "状态;0-待检 1-已检 2-已整改")
	@TableField("DEVICE_STATE")
	private String deviceState;
	/**
	 * 整改前图片附件标识groupName
	 */
	@ApiModelProperty(value = "整改前图片附件标识groupName")
	@TableField("BEFORE_PIC_IDS")
	private String beforePicIds;

	/**
	 * 整改后图片附件标识groupName
	 */
	@ApiModelProperty(value = "整改后图片附件标识groupName")
	@TableField("AFTER_PIC_IDS")
	private String afterPicIds;
	/**
	 * 逻辑删除标识符;0-删除，1-正常
	 */
	@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
	@TableField("DEL_FLAG")
	@TableLogic
	private String delFlag;

	/**
	 * 持续整改期限
	 */
	@ApiModelProperty(value = "持续整改期限")
	@TableField("rectification_deadline")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date rectificationDeadline;


	/**
	 * 类型标识（1-普通整改，2-持续整改）
	 */
	@ApiModelProperty(value = "类型标识（1-普通整改，2-持续整改）")
	@TableField("rec_flag")
	private String recFlag;

	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;

	/**
	 * 整改结果
	 */
	@ApiModelProperty(value = "整改结果")
	@TableField("rectify_result")
	private String rectifyResult;


	/**
	 * 机构名称
	 */
	@ApiModelProperty(value = "机构名称")
	@TableField("dept_name")
	private String deptName;


}
