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 javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.util.Date; /** * @author jingjy * @date 2021-8-19 16:48:22 */ @TableName("task") public class TaskInfo { @TableField(exist = false) private static final long serialVersionUID = 1L; /** 已驳回 **/ public static final Byte REJECTED = 0; /** 未提交 **/ public static final Byte UNCOMMITTED = 1; /** 已提交 **/ public static final Byte COMMITTED = 2; /** 施工单位已确认 **/ public static final Byte CONTRACTOR_APPROVED = 3; /** 动火部位负责人审批通过 **/ public static final Byte PART_APPROVED = 4; /** 相关部门审批通过 **/ public static final Byte RELEVANT_APPROVED = 5; /** 安全部门审批通过 **/ public static final Byte SECURITY_APPROVED = 6; /** 审批通过 **/ public static final Byte APPROVED = 7; /** 提交检测中心 **/ public static final Byte TEST_COMMITTED = 8; /** 气体检测通过 **/ public static final Byte TEST_CHECKED = 9; /** 等级:二级 **/ public static final Byte LEVEL_SECOND = 0; /** 等级:一级 **/ public static final Byte LEVEL_ONE = 1; /** 等级:特级 **/ public static final Byte LEVEL_SPECIAL = 2; /** 等待整改 **/ public static final Byte WAIT_RECTIFY = 0; /** 作业中止 **/ public static final Byte ABORT = 1; /** 等待检查 **/ public static final Byte WAIT_CHECK = 2; /** 等待开始 **/ public static final Byte WAIT_START = 3; /** 作业中 **/ public static final Byte DOING = 4; /** 作业完成 **/ public static final Byte COMPLETE = 5; /** 作业未开始 **/ public static final Byte WAIT_REVIEW = 6; /** id **/ @TableId(type = IdType.AUTO) private Long id; /** 作业状态 status **/ private Byte status; /** 区分60 130 参考 Etype类型 1:60 2:130**/ private Integer etype; /** 申请单位 unit **/ @NotBlank(message = "申请单位不能为空") private String unit; /** 申请人部门 unit **/ private String department; /** 申请人 applicant **/ @NotBlank(message = "申请人不能为空") private String applicant; /** 作业证编号 code **/ private String code; /** 动火作业级别(特级、一级、二级) level **/ // @NotNull(message = "作业级别不能为空") private Byte level; /** 动火地点 area **/ // @NotBlank(message = "作业地点不能为空") private String area; /** 动火方式 mode **/ private String mode; /** 负责人 director **/ // @NotBlank(message = "作业负责人不能为空") private String director; /** 开始时间 starttime **/ // @NotNull(message = "开始时间不能为空") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") private Date starttime; /** 结束时间 endtime **/ // @NotNull(message = "结束时间不能为空") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") private Date endtime; /** 涉及的其他特殊作业 othertask **/ private String othertask; /** 危害辨识(火灾、触电) hazard **/ private String hazard; /** 监火人 supervisor **/ private String supervisor; /** 工种 profession **/ private String profession; /** 动火部位负责人 partdirector **/ private String partdirector; /** 相关单位监火人 approversupervisor **/ private String approversupervisor; /** 相关单位工种 approverprofession **/ private String approverprofession; /** 申请单位意见 applyunitopinion **/ private String applyunitopinion; /** 施工单位意见 constructionopinion **/ private String constructionopinion; /** 相关部门意见 relevantopinion **/ private String relevantopinion; /** 安全管理部门意见 securityopinion **/ private String securityopinion; /** 企业负责人意见 enterpriseopinion **/ private String enterpriseopinion; /** 动火前,岗位当班班长验票 shiftleaderopinion **/ private String shiftleaderopinion; /** 申请单位签名 applyunitname **/ private String applyunitname; /** 施工单位签名 constructionname **/ private String constructionname; /** 相关部门签名 relevantname **/ private String relevantname; /** 安全管理部门签名 securityname **/ private String securityname; /** 企业负责人签名 enterprisename **/ private String enterprisename; /** 动火前,岗位当班班长验票签名 shiftleadername **/ private String shiftleadername; /** 申请单位签名时间 applyunittime **/ private Date applyunittime; /** 施工单位签名时间 constructiontime **/ private Date constructiontime; /** 相关部门签名时间 relevanttime **/ private Date relevanttime; /** 安全管理部门签名时间 securitytime **/ private Date securitytime; /** 企业负责人签名时间 enterprisetime **/ private Date enterprisetime; /** 动火前,岗位当班班长验票签名时间 shiftleadertime **/ private Date shiftleadertime; /** 完工时间 completedtime **/ private Date completedtime; /** 完工申请签字 completedname **/ private String completedname; /** 完工确认人签字 completedconfirm **/ private String completedconfirm; /** 创建时间 createdat **/ private Date createdat; /** 创建人 createdby **/ private String createdby; /** 修改时间 modifiedat **/ private Date modifiedat; /** 修改人 modifiedby **/ private String modifiedby; /** 标记 flag **/ private Byte flag; /** 是否删除(0:否,1:是) isdel **/ private Byte isdel; /** 施工单位名称 constructionunit **/ private String constructionunit; /** 安全管理部门名称 securitydep **/ private String securitydep; /** 是否节假日 isholiday **/ private Byte isholiday; /** 分析人 analyst **/ private String analyst; /** 生成工作证路径 path **/ private String path; /** 生成完整工作证路径 fullpath **/ private String fullpath; /** 监火人意见 fullpath **/ private String supervisoropinion; private String content; private String opinion; /** 任务描述(任务详情) description **/ private String description; /** 是否需要气体检测分析(0:否,1:是) isanalysis **/ private Byte isanalysis; /** 分析地点 analysisarea **/ private String analysisarea; /** 分析介质 analysismedium **/ private String analysismedium; /** id **/ public Long getId() { return id; } /** id **/ public void setId(Long id) { this.id = id; } /** 作业状态 status **/ public Byte getStatus() { return status; } /** 作业状态 status **/ public void setStatus(Byte status) { this.status = status; } /** 申请单位 unit **/ public String getUnit() { return unit; } /** 申请单位 unit **/ public void setUnit(String unit) { this.unit = unit == null ? null : unit.trim(); } public String getDepartment() { return department; } public void setDepartment(String department) { this.department = department; } /** 申请人 applicant **/ public String getApplicant() { return applicant; } /** 申请人 applicant **/ public void setApplicant(String applicant) { this.applicant = applicant == null ? null : applicant.trim(); } /** 作业证编号 code **/ public String getCode() { return code; } /** 作业证编号 code **/ public void setCode(String code) { this.code = code == null ? null : code.trim(); } /** 动火作业级别(特级、一级、二级) level **/ public Byte getLevel() { return level; } /** 动火作业级别(特级、一级、二级) level **/ public void setLevel(Byte level) { this.level = level; } /** 动火地点 area **/ public String getArea() { return area; } /** 动火地点 area **/ public void setArea(String area) { this.area = area == null ? null : area.trim(); } /** 动火方式 mode **/ public String getMode() { return mode; } /** 动火方式 mode **/ public void setMode(String mode) { this.mode = mode; } /** 负责人 director **/ public String getDirector() { return director; } /** 负责人 director **/ public void setDirector(String director) { this.director = director == null ? null : director.trim(); } /** 开始时间 starttime **/ public Date getStarttime() { return starttime; } /** 开始时间 starttime **/ public void setStarttime(Date starttime) { this.starttime = starttime; } /** 结束时间 endtime **/ public Date getEndtime() { return endtime; } /** 结束时间 endtime **/ public void setEndtime(Date endtime) { this.endtime = endtime; } /** 涉及的其他特殊作业 othertask **/ public String getOthertask() { return othertask; } /** 涉及的其他特殊作业 othertask **/ public void setOthertask(String othertask) { this.othertask = othertask == null ? null : othertask.trim(); } /** 危害辨识(火灾、触电) hazard **/ public String getHazard() { return hazard; } /** 危害辨识(火灾、触电) hazard **/ public void setHazard(String hazard) { this.hazard = hazard == null ? null : hazard.trim(); } /** 监火人 supervisor **/ public String getSupervisor() { return supervisor; } /** 监火人 supervisor **/ public void setSupervisor(String supervisor) { this.supervisor = supervisor == null ? null : supervisor.trim(); } /** 工种 profession **/ public String getProfession() { return profession; } /** 工种 profession **/ public void setProfession(String profession) { this.profession = profession == null ? null : profession.trim(); } /** 动火部位负责人 partdirector **/ public String getPartdirector() { return partdirector; } /** 动火部位负责人 partdirector **/ public void setPartdirector(String partdirector) { this.partdirector = partdirector == null ? null : partdirector.trim(); } /** 相关单位监火人 approversupervisor **/ public String getApproversupervisor() { return approversupervisor; } /** 相关单位监火人 approversupervisor **/ public void setApproversupervisor(String approversupervisor) { this.approversupervisor = approversupervisor == null ? null : approversupervisor.trim(); } /** 相关单位工种 approverprofession **/ public String getApproverprofession() { return approverprofession; } /** 相关单位工种 approverprofession **/ public void setApproverprofession(String approverprofession) { this.approverprofession = approverprofession == null ? null : approverprofession.trim(); } /** 申请单位意见 applyunitopinion **/ public String getApplyunitopinion() { return applyunitopinion; } /** 申请单位意见 applyunitopinion **/ public void setApplyunitopinion(String applyunitopinion) { this.applyunitopinion = applyunitopinion == null ? null : applyunitopinion.trim(); } /** 施工单位意见 constructionopinion **/ public String getConstructionopinion() { return constructionopinion; } /** 施工单位意见 constructionopinion **/ public void setConstructionopinion(String constructionopinion) { this.constructionopinion = constructionopinion == null ? null : constructionopinion.trim(); } /** 相关部门意见 relevantopinion **/ public String getRelevantopinion() { return relevantopinion; } /** 相关部门意见 relevantopinion **/ public void setRelevantopinion(String relevantopinion) { this.relevantopinion = relevantopinion == null ? null : relevantopinion.trim(); } /** 安全管理部门意见 securityopinion **/ public String getSecurityopinion() { return securityopinion; } /** 安全管理部门意见 securityopinion **/ public void setSecurityopinion(String securityopinion) { this.securityopinion = securityopinion == null ? null : securityopinion.trim(); } /** 企业负责人意见 enterpriseopinion **/ public String getEnterpriseopinion() { return enterpriseopinion; } /** 企业负责人意见 enterpriseopinion **/ public void setEnterpriseopinion(String enterpriseopinion) { this.enterpriseopinion = enterpriseopinion == null ? null : enterpriseopinion.trim(); } /** 动火前,岗位当班班长验票 shiftleaderopinion **/ public String getShiftleaderopinion() { return shiftleaderopinion; } /** 动火前,岗位当班班长验票 shiftleaderopinion **/ public void setShiftleaderopinion(String shiftleaderopinion) { this.shiftleaderopinion = shiftleaderopinion == null ? null : shiftleaderopinion.trim(); } /** 申请单位签名 applyunitname **/ public String getApplyunitname() { return applyunitname; } /** 申请单位签名 applyunitname **/ public void setApplyunitname(String applyunitname) { this.applyunitname = applyunitname == null ? null : applyunitname.trim(); } /** 施工单位签名 constructionname **/ public String getConstructionname() { return constructionname; } /** 施工单位签名 constructionname **/ public void setConstructionname(String constructionname) { this.constructionname = constructionname == null ? null : constructionname.trim(); } /** 相关部门签名 relevantname **/ public String getRelevantname() { return relevantname; } /** 相关部门签名 relevantname **/ public void setRelevantname(String relevantname) { this.relevantname = relevantname == null ? null : relevantname.trim(); } /** 安全管理部门签名 securityname **/ public String getSecurityname() { return securityname; } /** 安全管理部门签名 securityname **/ public void setSecurityname(String securityname) { this.securityname = securityname == null ? null : securityname.trim(); } /** 企业负责人签名 enterprisename **/ public String getEnterprisename() { return enterprisename; } /** 企业负责人签名 enterprisename **/ public void setEnterprisename(String enterprisename) { this.enterprisename = enterprisename == null ? null : enterprisename.trim(); } /** 动火前,岗位当班班长验票签名 shiftleadername **/ public String getShiftleadername() { return shiftleadername; } /** 动火前,岗位当班班长验票签名 shiftleadername **/ public void setShiftleadername(String shiftleadername) { this.shiftleadername = shiftleadername == null ? null : shiftleadername.trim(); } /** 申请单位签名时间 applyunittime **/ public Date getApplyunittime() { return applyunittime; } /** 申请单位签名时间 applyunittime **/ public void setApplyunittime(Date applyunittime) { this.applyunittime = applyunittime; } /** 施工单位签名时间 constructiontime **/ public Date getConstructiontime() { return constructiontime; } /** 施工单位签名时间 constructiontime **/ public void setConstructiontime(Date constructiontime) { this.constructiontime = constructiontime; } /** 相关部门签名时间 relevanttime **/ public Date getRelevanttime() { return relevanttime; } /** 相关部门签名时间 relevanttime **/ public void setRelevanttime(Date relevanttime) { this.relevanttime = relevanttime; } /** 安全管理部门签名时间 securitytime **/ public Date getSecuritytime() { return securitytime; } /** 安全管理部门签名时间 securitytime **/ public void setSecuritytime(Date securitytime) { this.securitytime = securitytime; } /** 企业负责人签名时间 enterprisetime **/ public Date getEnterprisetime() { return enterprisetime; } /** 企业负责人签名时间 enterprisetime **/ public void setEnterprisetime(Date enterprisetime) { this.enterprisetime = enterprisetime; } /** 动火前,岗位当班班长验票签名时间 shiftleadertime **/ public Date getShiftleadertime() { return shiftleadertime; } /** 动火前,岗位当班班长验票签名时间 shiftleadertime **/ public void setShiftleadertime(Date shiftleadertime) { this.shiftleadertime = shiftleadertime; } /** 完工时间 completedtime **/ public Date getCompletedtime() { return completedtime; } /** 完工时间 completedtime **/ public void setCompletedtime(Date completedtime) { this.completedtime = completedtime; } /** 完工申请签字 completedname **/ public String getCompletedname() { return completedname; } /** 完工申请签字 completedname **/ public void setCompletedname(String completedname) { this.completedname = completedname == null ? null : completedname.trim(); } /** 完工确认人签字 completedconfirm **/ public String getCompletedconfirm() { return completedconfirm; } /** 完工确认人签字 completedconfirm **/ public void setCompletedconfirm(String completedconfirm) { this.completedconfirm = completedconfirm == null ? null : completedconfirm.trim(); } /** 创建时间 createdat **/ public Date getCreatedat() { return createdat; } /** 创建时间 createdat **/ public void setCreatedat(Date createdat) { this.createdat = createdat; } /** 创建人 createdby **/ public String getCreatedby() { return createdby; } /** 创建人 createdby **/ public void setCreatedby(String createdby) { this.createdby = createdby == null ? null : createdby.trim(); } /** 修改时间 modifiedat **/ public Date getModifiedat() { return modifiedat; } /** 修改时间 modifiedat **/ public void setModifiedat(Date modifiedat) { this.modifiedat = modifiedat; } /** 修改人 modifiedby **/ public String getModifiedby() { return modifiedby; } /** 修改人 modifiedby **/ public void setModifiedby(String modifiedby) { this.modifiedby = modifiedby == null ? null : modifiedby.trim(); } /** 标记 flag **/ public Byte getFlag() { return flag; } /** 标记 flag **/ public void setFlag(Byte flag) { this.flag = flag; } /** 是否删除(0:否,1:是) isdel **/ public Byte getIsdel() { return isdel; } /** 是否删除(0:否,1:是) isdel **/ public void setIsdel(Byte isdel) { this.isdel = isdel; } /** 施工单位名称 constructionunit **/ public String getConstructionunit() { return constructionunit; } /** 施工单位名称 constructionunit **/ public void setConstructionunit(String constructionunit) { this.constructionunit = constructionunit == null ? null : constructionunit.trim(); } /** 安全管理部门名称 securitydep **/ public String getSecuritydep() { return securitydep; } /** 安全管理部门名称 securitydep **/ public void setSecuritydep(String securitydep) { this.securitydep = securitydep == null ? null : securitydep.trim(); } public Byte getIsholiday() { return isholiday; } public void setIsholiday(Byte isholiday) { this.isholiday = isholiday; } public String getAnalyst() { return analyst; } public void setAnalyst(String analyst) { this.analyst = analyst; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public String getFullpath() { return fullpath; } public void setFullpath(String fullpath) { this.fullpath = fullpath; } public String getSupervisoropinion() { return supervisoropinion; } public void setSupervisoropinion(String supervisoropinion) { this.supervisoropinion = supervisoropinion; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getOpinion() { return opinion; } public void setOpinion(String opinion) { this.opinion = opinion; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Byte getIsanalysis() { return isanalysis; } public void setIsanalysis(Byte isanalysis) { this.isanalysis = isanalysis; } public String getAnalysisarea() { return analysisarea; } public void setAnalysisarea(String analysisarea) { this.analysisarea = analysisarea; } public String getAnalysismedium() { return analysismedium; } public void setAnalysismedium(String analysismedium) { this.analysismedium = analysismedium; } public Integer getEtype() { return etype; } public void setEtype(Integer etype) { this.etype = etype; } }