/*
 *      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 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;

/**
 * 工作报备表实体类
 *
 * @author BladeX
 * @since 2022-08-05
 */
@Data
@TableName("T_WORK_FILING")
@ApiModel(value = "WorkFiling对象", description = "工作报备表")
public class WorkFiling extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 事项名称
	*/
		@ApiModelProperty(value = "事项名称")
		@TableField("NAME")
	private String name;
	/**
	* 事项说明
	*/
		@ApiModelProperty(value = "事项说明")
		@TableField("DESCRIPTION")
	private String description;
	/**
	* 计划开始时间
	*/
		@ApiModelProperty(value = "计划开始时间")
		@TableField("START_DATE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date startDate;
	/**
	* 计划结束时间
	*/
		@ApiModelProperty(value = "计划结束时间")
		@TableField("END_DATE")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endDate;
	/**
	* 申请资源说明
	*/
		@ApiModelProperty(value = "申请资源说明")
		@TableField("SOURCE_APPLY")
	private String sourceApply;
	/**
	* 状态;0-待提交、1-待审批、2-审批完成
	*/
		@ApiModelProperty(value = "状态;0-待提交、1-待审批、2-审批完成")
		@TableField("STATE")
	private String state;
	/**
	* 逻辑删除标识符;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;

	/**
	 * 报备对象userId
	 */
	@ApiModelProperty(value = "报备对象userId")
	@TableField("RECEIVE_USER_ID")
	private String receiveUserId;

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

}
