/*
 *      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.securityCommandCenter.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.BaseEntity;
import org.security.ht.entity.common.FlowEntity;

/**
 * 安保指挥中心-非现场检查整改明细实体类
 *
 * @author BladeX
 * @since 2022-07-06
 */
@Data
@TableName("T_SCC_UNLOCALE_CHECK_LINE")
@ApiModel(value = "SccUnlocaleCheckLine对象", description = "安保指挥中心-非现场检查整改明细")
public class SccUnlocaleCheckLine 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("OUTLETS_CODE")
	private String outletsCode;
	/**
	* 网点名称
	*/
		@ApiModelProperty(value = "网点名称")
		@TableField("OUTLETS_NAME")
	private String outletsName;
	/**
	* 问题发现时间
	*/
		@ApiModelProperty(value = "问题发现时间")
		@TableField("DISCOVER_PROBLEMS_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date discoverProblemsTime;
	/**
	* 问题描述
	*/
		@ApiModelProperty(value = "问题描述")
		@TableField("PROBLEMS_DESCRIBE")
	private String problemsDescribe;
	/**
	* 整改措施
	*/
		@ApiModelProperty(value = "整改措施")
		@TableField("RECTIFICATION_MEASURES")
	private String rectificationMeasures;
	/**
	* 整改结果
	*/
		@ApiModelProperty(value = "整改结果")
		@TableField("RECTIFICATION_RESULT")
	private String rectificationResult;
	/**
	* 整改完成时间
	*/
		@ApiModelProperty(value = "整改完成时间")
		@TableField("RECTIFICATION_END_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date rectificationEndTime;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		@TableField("REMARK")
	private String remark;
	/**
	* 逻辑删除标识符;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;

	/**
	 * 网点代码级联字符串,用于级联选择框展示
	 */
	@ApiModelProperty(value = "网点代码串")
	@TableField("OUTLETS_CODE_FRONT")
	private String outletsCodeFront;


	/**
	 * 相关附件groupName标识
	 */
	@ApiModelProperty(value = "相关附件groupName标识")
	@TableField("GROUP_NAME")
	private String groupName;

	/**
	 * 类型标识 1-普通一次性整改记录 2-持续整改后续补充整改记录
	 */
	@ApiModelProperty(value = "类型标识 1-普通一次性整改记录 2-持续整改后续补充整改记录")
	@TableField("rec_flag")
	private String recFlag;

	/**
	 * 是否需持续整改 1-否 2-是
	 */
	@ApiModelProperty(value = "是否需持续整改 1-否 2-是")
	@TableField("record_flag")
	private String recordFlag;

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

	/**
	 * 明细记录整改状态（1-待整改，2-按时整改，3-超时整改，4-超时未整改，6-持续整改待确认）
	 */
	@ApiModelProperty(value = "明细记录整改状态（1-待整改，2-按时整改，3-超时整改，4-超时未整改,6-持续整改待确认）")
	@TableField("status")
	private String status;

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