/*
 *      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.applyAndReport.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 lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.FlowEntity;

/**
 * 值班记录表实体类
 *
 * @author BladeX
 * @since 2022-07-13
 */
@Data
@TableName("T_DUTY_RECORDS")
@ApiModel(value = "DutyRecords对象", description = "值班记录表")
public class DutyRecords extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 机构代码
	*/
		@ApiModelProperty(value = "机构代码")
		@TableField("ORGANIZATION_CODE")
	private String organizationCode;
	/**
	* 机构名称
	*/
		@ApiModelProperty(value = "机构名称")
		@TableField("ORGANIZATION_NAME")
	private String organizationName;
	/**
	 * 值班事项说明
	 */
	@ApiModelProperty(value = "值班事项说明")
	@TableField("DESCRIPTION")
	private String description;
	/**
	* 值班开始时间
	*/
		@ApiModelProperty(value = "值班开始时间")
		@TableField("START_TIME")
	private Date startTime;
	/**
	* 值班结束时间
	*/
		@ApiModelProperty(value = "值班结束时间")
		@TableField("END_TIME")
	private Date endTime;
	/**
	* 值班负责人
	*/
		@ApiModelProperty(value = "值班负责人")
		@TableField("PERSON_IN_CHARGE")
	private String personInCharge;
	/**
	* 值班负责人电话
	*/
		@ApiModelProperty(value = "值班负责人电话")
		@TableField("TELEPHONE")
	private String telephone;
	/**
	* 带班领导
	*/
		@ApiModelProperty(value = "带班领导")
		@TableField("SHIFT_LEADER")
	private String shiftLeader;
	/**
	* 带班领导电话
	*/
		@ApiModelProperty(value = "带班领导电话")
		@TableField("LEADER_TELEPHONE")
	private String leaderTelephone;
	/**
	* 安保值班人员
	*/
		@ApiModelProperty(value = "安保值班人员")
		@TableField("SECURITY_WATCHMAN")
	private String securityWatchman;
	/**
	* 安保值班人员电话
	*/
		@ApiModelProperty(value = "安保值班人员电话")
		@TableField("SECURITY_WATCHMAN_TELEPHONE")
	private String securityWatchmanTelephone;
	/**
	* 逻辑删除标识符;0-正常，1-删除
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-正常，1-删除")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	 * 状态;0-待提交审批、1-审批中、2-审批完成、3-审批驳回
	 */
	@ApiModelProperty(value = "状态;0-待提交审批、1-审批中、2-审批完成、3-审批驳回")
	@TableField("STATE")
	private String state;
	/**
	* 部门id
	*/
		@ApiModelProperty(value = "部门id")
		@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 类型；1-工作日，2-非工作日
	 */
	@ApiModelProperty(value = "类型；1-工作日，2-非工作日")
	@TableField("TYPE")
	private String type;

}
