/*
 *      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")
@ApiModel(value = "SccUnlocaleCheck对象", description = "安保指挥中心-非现场检查整改通知书")
public class SccUnlocaleCheck extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 文号
	*/
		@ApiModelProperty(value = "文号")
		@TableField("DOCUMENT_NO")
	private String documentNo;
	/**
	* 检查单位
	*/
		@ApiModelProperty(value = "检查单位")
		@TableField("INSPECT_DEPT")
	private String inspectDept;
	/**
	* 检查人
	*/
		@ApiModelProperty(value = "检查人")
		@TableField("INSPECT_STAFF")
	private String inspectStaff;
	/**
	* 被检查单位
	*/
		@ApiModelProperty(value = "被检查单位")
		@TableField("INSPECTED_DEPT")
	private String inspectedDept;
	/**
	* 整改责任人
	*/
		@ApiModelProperty(value = "整改责任人")
		@TableField("RECTIFICATION_RESPONSIBLE_PERSON")
	private String rectificationResponsiblePerson;
	/**
	* 整改期限
	*/
		@ApiModelProperty(value = "整改期限")
		@TableField("RECTIFICATION_DEADLINE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date rectificationDeadline;
	/**
	* 状态;1-待整改，2-按时整改，3-超时整改
	*/
		@ApiModelProperty(value = "状态;0-待下发，1-待整改，2-按时整改，3-超时整改,4-超时未整改，5-持续整改，6-安全员确认")
		@TableField("STATUS")
	private String status;
	/**
	* 部门id
	*/
		@ApiModelProperty(value = "部门id")
		@TableField("DEPT_ID")
	private String deptId;
	/**
	* 逻辑删除标识符;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;

	/**
	 * 整改通知书类型（1-自助银行检查整改通知书，2-营业网点检查整改通知书，3-其他检查整改通知书）
	 */
	@ApiModelProperty(value = "整改通知书类型（1-营业网点检查整改通知书，2-自助银行检查整改通知书，3-其他检查整改通知书）")
	@TableField("NOTICE_TYPE")
	private String noticeType;

	/**
	 * 关联营业网点检查和自助银行检查id
	 */
	@ApiModelProperty(value = "关联营业网点检查和自助银行检查id")
	@TableField("LINK_ID")
	private String linkId;


	/**
	 * 检查单位代码串；用于前端级联框回显
	 */
	@ApiModelProperty(value = "检查单位代码串；用于前端级联框回显")
	@TableField("INSPECT_DEPT_FRONT")
	private String inspectDeptFront;

	/**
	 * 被检查单位代码串；用于前端级联框回显
	 */
	@ApiModelProperty(value = "被检查单位代码串；用于前端级联框回显")
	@TableField("INSPECTED_DEPT_FRONT")
	private String inspectedDeptFront;

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

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

}
