EmergencyRiskEventHandleDto.java 2.3 KB
package com.skua.modules.emergency.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.modules.flow.core.entity.FlowEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 应急风险事件
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="emergency_risk_event对象", description="应急风险事件")
public class EmergencyRiskEventHandleDto  extends FlowEntity {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	@NotBlank
	private String id;
	/**所属厂站*/
	@Excel(name = "所属厂站", width = 15)
	@ApiModelProperty(value = "所属厂站")
	private String departId;
	/**管控层级(字典 emergency_risk_event_layer)*/
	@Excel(name = "管控层级(字典 emergency_risk_event_layer)", width = 15)
    @ApiModelProperty(value = "管控层级(字典 emergency_risk_event_layer)")
	private String controlLayer;
	/**责任部门*/
	@Excel(name = "责任部门", width = 15)
    @ApiModelProperty(value = "责任部门")
	private String dutyDepart;
	/**责任人员(用户id)*/
	@Excel(name = "责任人员(用户id)", width = 15)
    @ApiModelProperty(value = "责任人员(用户id)")
	private String dutyUser;
	/**现实风险等级(字典 emergency_risk_event_level)*/
	@Excel(name = "现实风险等级(字典 emergency_risk_event_level)", width = 15)
    @ApiModelProperty(value = "现实风险等级(字典 emergency_risk_event_level)")
	private String realLevel;
	/**管控措施*/
	@Excel(name = "管控措施", width = 15)
    @ApiModelProperty(value = "管控措施")
	private String controlMean;
	/**动态管控周期(月)*/
	@Excel(name = "动态管控周期(月)", width = 15)
    @ApiModelProperty(value = "动态管控周期(月)")
	private Integer controlCycle;
}