/*
 *      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;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 安保指挥长中心-营业网点检查和自主银行检查记录实体类
 *
 * @author BladeX
 * @since 2022-07-06
 */
@Data
@TableName("T_SCC_CHECK")
@ApiModel(value = "SccCheck对象", description = "安保指挥长中心-营业网点检查和自主银行检查记录")
public class SccCheck extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;

	/**
	* 检查类型;1-营业网点检查、2-自助银行检查
	*/
		@ApiModelProperty(value = "检查类型;1-营业网点检查、2-自助银行检查")
		@TableField("CHECK_TYPE")
	private String checkType;
	/**
	* 值班人员
	*/
		@ApiModelProperty(value = "值班人员")
		@TableField("PERSON_ON_DUTY")
	private String personOnDuty;
	/**
	* 值班时间
	*/
		@ApiModelProperty(value = "值班时间")
		@TableField("DUTY_TIME")
		@DateTimeFormat(pattern = "yyyy-MM-dd")
		@JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GTM + 8")
	private Date dutyTime;
	/**
	* 逻辑删除标识符;0-删除，1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	* 部门id
	*/
		@ApiModelProperty(value = "部门id")
		@TableField("DEPT_ID")
	private String deptId;

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