/*
 *      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.TableId;
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_INSPECTION_LINE")
@ApiModel(value = "InspectionLine对象", description = "任务-监督检查明细")
public class InspectionLine extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 检查表ID
	*/
		@ApiModelProperty(value = "检查表ID")
		@TableField("FORM_ID")
	private String formId;
	/**
	 * 检查表状态
	 */
	@ApiModelProperty(value = "检查表状态")
	@TableField("FORM_STATUS")
	private String formStatus;
	/**
	* 涉及业务
	*/
		@ApiModelProperty(value = "涉及业务")
		@TableField("BUSINESS_TYPE")
	private String businessType;
	/**
	* 问题类型
	*/
		@ApiModelProperty(value = "问题类型")
		@TableField("PROBLEM_TYPE")
	private String problemType;
	/**
	* 异常情况说明
	*/
		@ApiModelProperty(value = "异常情况说明")
		@TableField("DESCRIPTION")
	private String description;
	/**
	* 问题等级
	*/
		@ApiModelProperty(value = "问题等级")
		@TableField("PROBLEM_LEVEL")
	private String problemLevel;
	/**
	* 整改建议
	*/
		@ApiModelProperty(value = "整改建议")
		@TableField("ADVICE")
	private String advice;
	/**
	* 问题发生日期
	*/
		@ApiModelProperty(value = "问题发生日期")
		@TableField("HAPPEN_DATE")
	private String happenDate;
	/**
	* 检查日期
	*/
		@ApiModelProperty(value = "检查日期")
		@TableField("FOUND_DATE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date foundDate;
	/**
	* 审批状态;0-待提报审批、1-审批中、2-审批完成
	*/
		@ApiModelProperty(value = "审批状态")
		@TableField("STATE")
	private String state;
	/**
	* 整改期限
	*/
		@ApiModelProperty(value = "整改期限")
		@TableField("RECTIFY_DEADLINE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date rectifyDeadline;
	/**
	* 整改完成日期
	*/
		@ApiModelProperty(value = "整改完成日期")
		@TableField("RECTIFY_DATE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date rectifyDate;
	/**
	* 逻辑删除标识符;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	* 业务状态（6-无需整改、2-待整改、3-已整改、4-超时未整改、5-超时已整改）
	*/
		@ApiModelProperty(value = "业务状态（6-无需整改、2-待整改、3-已整改、4-超时未整改、5-超时已整改）")
		@TableField("STATUS")
	private String status;
	/**
	* 类型标识 1-普通类型 2-持续整改后续补充的记录
	*/
		@ApiModelProperty(value = "类型标识")
		@TableField("FLAG")
	private String flag;
	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 提报用户
	 */
	@ApiModelProperty(value = "提报用户")
	@TableField("USER_ID")
	private String userId;
	/**
	 * 提报角色
	 */
	@ApiModelProperty(value = "提报角色")
	@TableField("ROLE_ID")
	private String roleId;
	/**
	 * 检查内容
	 */
	@ApiModelProperty(value = "检查内容")
	@TableField("CONTENT")
	private String content;
	/**
	 * 是否有异常
	 */
	@ApiModelProperty(value = "是否有异常 0-否，1-是")
	@TableField("HAS_PROBLEM")
	private String hasProblem;
	/**
	 * 检查时照片groupname
	 */
	@ApiModelProperty(value = "检查时照片groupname")
	@TableField("CHECK_PIC")
	private String checkPic;
	/**
	 * 整改后照片groupname
	 */
	@ApiModelProperty(value = "整改后照片groupname")
	@TableField("RECTIFY_PIC")
	private String rectifyPic;
	/**
	 * 整改说明
	 */
	@ApiModelProperty(value = "整改说明")
	@TableField("RECTIFY_DESCRIBE")
	private String rectifyDescribe;
	/**
	 * 需要持续整改 0-否 1-是
	 */
	@ApiModelProperty(value = "需要持续整改")
	@TableField("NEED_CONTINUE")
	private String needContinue;
	/**
	 * 持续整改期限
	 */
	@ApiModelProperty(value = "持续整改期限")
	@TableField("NEW_DEADLINE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date newDeadline;

}
