package com.gk.hotwork.Domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
@TableName("emergency_plan")
|
public class EmergencyPlan implements Serializable {
|
|
private final static long serialVersionUID = 1L;
|
|
/** 应急预案名称 name **/
|
private String name;
|
|
/** 应急预案文件类型 file_type 0:图片 1:文件**/
|
private Integer fileType;
|
|
/** 应急预案文件 **/
|
@TableField(exist = false)
|
private List<EmergencyPlanFile> fileList;
|
|
/** 应急预案文件 **/
|
@TableField(exist = false)
|
private List<String> viewerList;
|
|
/** 应急预案备注 remark **/
|
private String remark;
|
|
|
|
/** 主键id id **/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/** 有效标识 valid_flag **/
|
private Boolean validFlag;
|
|
/** 创建时间 create_time **/
|
private Date createTime;
|
|
/** 创建人 create_by **/
|
private String createBy;
|
|
/** 最新更新时间 update_time **/
|
private Date updateTime;
|
|
/** 最后更新人 update_by **/
|
private String updateBy;
|
|
|
/** 主键id id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** 主键id id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
/** 有效标识 valid_flag **/
|
public Boolean getValidFlag() {
|
return validFlag;
|
}
|
|
/** 有效标识 valid_flag **/
|
public void setValidFlag(Boolean validFlag) {
|
this.validFlag = validFlag;
|
}
|
|
/** 创建时间 create_time **/
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/** 创建时间 create_time **/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
/** 创建人 create_by **/
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
/** 创建人 create_by **/
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy == null ? null : createBy.trim();
|
}
|
|
/** 最新更新时间 update_time **/
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
/** 最新更新时间 update_time **/
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/** 最后更新人 update_by **/
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
/** 最后更新人 update_by **/
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy == null ? null : updateBy.trim();
|
}
|
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getFileType() {
|
return fileType;
|
}
|
|
public void setFileType(Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public List<EmergencyPlanFile> getFileList() {
|
return fileList;
|
}
|
|
public void setFileList(List<EmergencyPlanFile> fileList) {
|
this.fileList = fileList;
|
}
|
|
public List<String> getViewerList() {
|
return viewerList;
|
}
|
|
public void setViewerList(List<String> viewerList) {
|
this.viewerList = viewerList;
|
}
|
}
|