package org.security.trans.prevent.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.security.ht.entity.common.FlowEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 风险提示表实体类
 *
 * @author BladeX
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_PREVENT_RISK")
@ApiModel(value = "PreventRisk对象", description = "风险提示表")
public class PreventRisk extends FlowEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@ApiModelProperty(value = "ID")
	@TableId("ID")
	private String id;
	/**
	 * 机构ID
	 */
	@ApiModelProperty(value = "机构ID")
	@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 机构名称
	 */
	@ApiModelProperty(value = "机构名称")
	@TableField("DEPT_NAME")
	private String deptName;
	/**
	 * 删除标识
	 */
	@ApiModelProperty(value = "删除标识")
	@TableField("DEL_FLAG")
	private String delFlag;
	/**
	 * 风险名称
	 */
	@ApiModelProperty(value = "风险名称")
	@TableField("RISK_NAME")
	private String riskName;
	/**
	 * 风险描述
	 */
	@ApiModelProperty(value = "风险描述")
	@TableField("RISK_DESCRIBE")
	private String riskDescribe;
	/**
	 * 状态 0-待提报 1-提报待审批 2-审批完成 3-驳回
	 */
	@ApiModelProperty(value = "状态")
	@TableField("STATE")
	private String state;
	/**
	 * 附件groupname
	 */
	@ApiModelProperty(value = "附件groupname")
	@TableField("GROUP_NAME")
	private String groupName;
	/**
	 * 上报时间
	 */
	@ApiModelProperty(value = "上报时间")
	@TableField("SUBMIT_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date submitTime;
}
