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 com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gk.hotwork.Domain.Enum.HiddenDangerApplyStatus;
|
import com.gk.hotwork.Domain.Enum.HiddenDangerLevel;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
@TableName("hiddendanger")
|
public class HiddenDanger implements Serializable {
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
|
/** 主键id id **/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
private String code;
|
|
/** 隐患级别 level **/
|
private HiddenDangerLevel level;
|
|
/** 单子状态(未确认,已确认,已整改) status **/
|
private HiddenDangerApplyStatus status;
|
|
/** 提出人 requestor **/
|
private String requestor;
|
|
/** 提出人id requestorid **/
|
private Long requestorid;
|
|
/** 创建(提出)时间 createtime **/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm" , timezone = "GMT+8")
|
private Date createtime;
|
|
/** 创建说明 createnote **/
|
private String createnote;
|
|
|
/** 整改时间 rectifytime **/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm" , timezone = "GMT+8")
|
private Date rectifytime;
|
|
/** 整改说明 rectifynote **/
|
private String rectifynote;
|
|
private String rectifymeasure;
|
|
private String rectifier;
|
|
private Long rectifierid;
|
|
/** 有效标识 validflag **/
|
private Boolean validflag;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm" , timezone = "GMT+8")
|
private Date rectifydeadline;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm" , timezone = "GMT+8")
|
private Date accepttime;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm" , timezone = "GMT+8")
|
private Date rejecttime;
|
|
private String rejectnote;
|
|
private String acceptnote;
|
|
private Integer source;
|
|
//上报文件
|
@TableField(exist = false)
|
private List<HiddenDangerResource> reportResources;
|
|
//整改文件
|
@TableField(exist = false)
|
private List<HiddenDangerResource> rectifyResources;
|
|
@TableField(exist = false)
|
private Integer countNum;
|
|
@TableField(exist = false)
|
private String constructionunit;
|
|
/** 隐患id id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** 隐患id id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public HiddenDangerLevel getLevel() {
|
return level;
|
}
|
|
public void setLevel(HiddenDangerLevel level) {
|
this.level = level;
|
}
|
|
public List<HiddenDangerResource> getReportResources() {
|
return reportResources;
|
}
|
|
public void setReportResources(List<HiddenDangerResource> reportResources) {
|
this.reportResources = reportResources;
|
}
|
|
public List<HiddenDangerResource> getRectifyResources() {
|
return rectifyResources;
|
}
|
|
public void setRectifyResources(List<HiddenDangerResource> rectifyResources) {
|
this.rectifyResources = rectifyResources;
|
}
|
|
/** 隐患级别 level **/
|
|
|
public HiddenDangerApplyStatus getStatus() {
|
return status;
|
}
|
|
public void setStatus(HiddenDangerApplyStatus status) {
|
this.status = status;
|
}
|
|
/** 提出人 requestor **/
|
public String getRequestor() {
|
return requestor;
|
}
|
|
/** 提出人 requestor **/
|
public void setRequestor(String requestor) {
|
this.requestor = requestor == null ? null : requestor.trim();
|
}
|
|
|
/** 提出人id requestorid **/
|
public Long getRequestorid() {
|
return requestorid;
|
}
|
|
/** 提出人id requestorid **/
|
public void setRequestorid(Long requestorid) {
|
this.requestorid = requestorid;
|
}
|
|
|
/** 创建(提出)时间 createtime **/
|
public Date getCreatetime() {
|
return createtime;
|
}
|
|
/** 创建(提出)时间 createtime **/
|
public void setCreatetime(Date createtime) {
|
this.createtime = createtime;
|
}
|
|
/** 创建说明 createnote **/
|
public String getCreatenote() {
|
return createnote;
|
}
|
|
/** 创建说明 createnote **/
|
public void setCreatenote(String createnote) {
|
this.createnote = createnote == null ? null : createnote.trim();
|
}
|
|
/** 整改时间 rectifytime **/
|
public Date getRectifytime() {
|
return rectifytime;
|
}
|
|
/** 整改时间 rectifytime **/
|
public void setRectifytime(Date rectifytime) {
|
this.rectifytime = rectifytime;
|
}
|
|
/** 整改说明 rectifynote **/
|
public String getRectifynote() {
|
return rectifynote;
|
}
|
|
/** 整改说明 rectifynote **/
|
public void setRectifynote(String rectifynote) {
|
this.rectifynote = rectifynote == null ? null : rectifynote.trim();
|
}
|
|
|
|
public Boolean getValidflag() {
|
return validflag;
|
}
|
|
public void setValidflag(Boolean validflag) {
|
this.validflag = validflag;
|
}
|
|
|
|
public Integer getCountNum() {
|
return countNum;
|
}
|
|
public void setCountNum(Integer countNum) {
|
this.countNum = countNum;
|
}
|
|
public String getConstructionunit() {
|
return constructionunit;
|
}
|
|
public void setConstructionunit(String constructionunit) {
|
this.constructionunit = constructionunit;
|
}
|
|
public String getRectifymeasure() {
|
return rectifymeasure;
|
}
|
|
public void setRectifymeasure(String rectifymeasure) {
|
this.rectifymeasure = rectifymeasure;
|
}
|
|
|
public String getRectifier() {
|
return rectifier;
|
}
|
|
public void setRectifier(String rectifier) {
|
this.rectifier = rectifier;
|
}
|
|
public Date getRectifydeadline() {
|
return rectifydeadline;
|
}
|
|
public void setRectifydeadline(Date rectifydeadline) {
|
this.rectifydeadline = rectifydeadline;
|
}
|
|
public Long getRectifierid() {
|
return rectifierid;
|
}
|
|
public void setRectifierid(Long rectifierid) {
|
this.rectifierid = rectifierid;
|
}
|
|
|
public Date getAccepttime() {
|
return accepttime;
|
}
|
|
public void setAccepttime(Date accepttime) {
|
this.accepttime = accepttime;
|
}
|
|
public Date getRejecttime() {
|
return rejecttime;
|
}
|
|
public void setRejecttime(Date rejecttime) {
|
this.rejecttime = rejecttime;
|
}
|
|
public String getRejectnote() {
|
return rejectnote;
|
}
|
|
public void setRejectnote(String rejectnote) {
|
this.rejectnote = rejectnote;
|
}
|
|
public String getAcceptnote() {
|
return acceptnote;
|
}
|
|
public void setAcceptnote(String acceptnote) {
|
this.acceptnote = acceptnote;
|
}
|
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
|
public Integer getSource() {
|
return source;
|
}
|
|
public void setSource(Integer source) {
|
this.source = source;
|
}
|
}
|