AjhExerciseSituation.java 3.9 KB
package com.skua.modules.ajh.entity;

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.core.aspect.annotation.Dict;
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 java.util.Date;

/**
 * 应急演练
 */
@Data
@TableName("ajh_exercise_situation")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ajh_exercise_situation对象", description="应急演练")
public class AjhExerciseSituation {

	/**演习情况ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "演习情况ID")
	private String id;
	/**演习主题*/
	@Excel(name = "演习主题", width = 15)
    @ApiModelProperty(value = "演习主题")
	private String exeTitle;
	/**单位名称*/
	@Excel(name = "单位名称", width = 15)
	@ApiModelProperty(value = "单位名称")
	private String exeUnitname;
	/**演习时间*/
	@Excel(name = "演习时间", width = 15)
    @ApiModelProperty(value = "演习时间")
	private String exeTime;
	/**参加演习人数*/
	@Excel(name = "参加演习人数", width = 15)
    @ApiModelProperty(value = "参加演习人数")
	private String exeNumber;
	/**演习地点*/
	@Excel(name = "演习地点", width = 15)
    @ApiModelProperty(value = "演习地点")
	private String exeAddres;
	/**演习负责人*/
	@Excel(name = "演习负责人", width = 15)
    @ApiModelProperty(value = "演习负责人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String exePerson;
	/**演习情况*/
	@Excel(name = "演习情况", width = 15)
    @ApiModelProperty(value = "演习情况")
	private String exeContent;
	/**演习效果*/
	@Excel(name = "演习效果", width = 15)
    @ApiModelProperty(value = "演习效果")
	private String exeResult;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
	private String exeFile;
	/**所属厂区*/
	@Excel(name = "所属厂区", width = 15)
	@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
    @ApiModelProperty(value = "所属厂区")
	private String departId;
	/**创建人员*/
	@Excel(name = "创建人员", width = 15)
    @ApiModelProperty(value = "创建人员")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人员*/
	@Excel(name = "修改人员", width = 15)
    @ApiModelProperty(value = "修改人员")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**修改部门*/
	@Excel(name = "修改部门", width = 15)
    @ApiModelProperty(value = "修改部门")
	private String createDept;
	/**修改集团*/
	@Excel(name = "修改集团", width = 15)
    @ApiModelProperty(value = "修改集团")
	private String createCmpy;
	/**标识*/
	@Excel(name = "标识", width = 15)
    @ApiModelProperty(value = "标识")
	private Integer delFlag;
	/**应急预案*/
	@Excel(name = "应急预案", width = 15)
	@ApiModelProperty(value = "应急预案")
	@Dict(dictTable = "emergency_plan_data", dicCode="id", dicText = "doc_name")
	private String emergencyPlan;
	/**应急评估*/
	@Excel(name = "应急评估", width = 15)
	@ApiModelProperty(value = "应急评估")
	private String exeAssessment;
}