/*
 *      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 java.math.BigDecimal;

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_NOTE_REMIND")
@ApiModel(value = "NoteRemind对象", description = "便签提醒记录表")
public class NoteRemind extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* ID
	*/
		@ApiModelProperty(value = "ID")
		@TableId("ID")
	private String id;
	/**
	* 便签提醒主题/提示事项
	*/
		@ApiModelProperty(value = "提示事项")
		@TableField("NOTE_TITLE")
	private String noteTitle;
	/**
	* 工作内容描述
	*/
		@ApiModelProperty(value = "工作内容描述")
		@TableField("NOTE_CONTENT")
	private String noteContent;
	/**
	* 提示开始时间
	*/
		@ApiModelProperty(value = "提示开始时间")
		@TableField("START_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date startTime;
	/**
	* 提示结束时间
	*/
		@ApiModelProperty(value = "提示结束时间")
		@TableField("END_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endTime;
	/**
	* 便签提醒时间间隔（结束时间多少个小时）单位：小时
	*/
		@ApiModelProperty(value = "便签提醒时间间隔 单位：小时")
		@TableField("ALARM_TIME")
	private BigDecimal alarmTime;
	/**
	* 记录创建人部门id
	*/
		@ApiModelProperty(value = "记录创建人部门id")
		@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 记录创建人部门名称
	 */
	@ApiModelProperty(value = "记录创建人部门名称")
	@TableField("DEPT_NAME")
	private String deptName;
	/**
	* 接收部门id
	*/
		@ApiModelProperty(value = "接收部门id")
		@TableField("RECEIVE_DEPT")
	private String receiveDept;
	/**
	* 接收用户id
	*/
		@ApiModelProperty(value = "接收用户id")
		@TableField("RECEIVE_USERS")
	private String receiveUsers;
	/**
	* 逻辑删除;（0-正常，1-删除）
	*/
		@ApiModelProperty(value = "逻辑删除;（0-正常，1-删除）")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	* 用于展示接收部门级联选择
	*/
		@ApiModelProperty(value = "用于展示接收部门级联选择")
		@TableField("RECEIVE_DEPT_FRONT")
	private String receiveDeptFront;
	/**
	 * 状态  0-待提交（不会进行定期提醒） 1-已提交（会进行定期提醒） 2-已完成（用户完成工作后主动关闭提醒）
	 * 3-已到期（任务到提醒期限，此后定时任务不再进行提醒）
	 */
	@ApiModelProperty(value = "状态")
	@TableField("STATE")
	private String state;


}
