package com.gkhy.safePlatform.safeCheck.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 巡检作业(调度表)
|
*/
|
@TableName("safe_check_work")
|
public class SafeCheckWork {
|
|
private Long id;
|
|
private String uuid;
|
|
//删除标志:0-有效,1-删除
|
private Byte deleteStatus;
|
|
//作业类型:1-周期性作业;2-日常作业
|
private Byte workType;
|
|
//作业状态:1-开启,2-关闭,3-过期,4-调度中
|
private Byte workStatus;
|
|
//关联任务单元id
|
private Long unitId;
|
|
//关联任务单元uuid
|
private String unitUuid;
|
|
//执行班组ID
|
private Long execClassgroupId;
|
|
//执行部门ID
|
private Long execDepId;
|
|
//巡检周期-数值
|
private int checkCycle;
|
|
//时间单位:1-分钟,2-小时,3-日,4-月,5-年
|
private Byte checkCycleUnit;
|
|
//提前通知时间-数值
|
private int noticeTime;
|
|
//时间单位:1-分钟,2-小时,3-日,4-月,5-年
|
private Byte noticeTimeUnit;
|
|
//有效时间
|
private int validTime;
|
|
//时间单位:1-分钟,2-小时,3-日,4-月,5-年
|
private Byte validTimeUnit;
|
|
//预计下次通知时间
|
private Date nextNoticeTime;
|
|
//预期下次开始时间
|
private Date nextCheckTime;
|
|
//上一次排查开始时间
|
private Date lastCheckTime;
|
|
//作业调度起始时间
|
private Date firstStartTime;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getUuid() {
|
return uuid;
|
}
|
|
public void setUuid(String uuid) {
|
this.uuid = uuid;
|
}
|
|
public Byte getDeleteStatus() {
|
return deleteStatus;
|
}
|
|
public void setDeleteStatus(Byte deleteStatus) {
|
this.deleteStatus = deleteStatus;
|
}
|
|
public Byte getWorkType() {
|
return workType;
|
}
|
|
public void setWorkType(Byte workType) {
|
this.workType = workType;
|
}
|
|
public Byte getWorkStatus() {
|
return workStatus;
|
}
|
|
public void setWorkStatus(Byte workStatus) {
|
this.workStatus = workStatus;
|
}
|
|
public Long getUnitId() {
|
return unitId;
|
}
|
|
public void setUnitId(Long unitId) {
|
this.unitId = unitId;
|
}
|
|
public String getUnitUuid() {
|
return unitUuid;
|
}
|
|
public void setUnitUuid(String unitUuid) {
|
this.unitUuid = unitUuid;
|
}
|
|
public Long getExecClassgroupId() {
|
return execClassgroupId;
|
}
|
|
public void setExecClassgroupId(Long execClassgroupId) {
|
this.execClassgroupId = execClassgroupId;
|
}
|
|
public Long getExecDepId() {
|
return execDepId;
|
}
|
|
public void setExecDepId(Long execDepId) {
|
this.execDepId = execDepId;
|
}
|
|
public int getCheckCycle() {
|
return checkCycle;
|
}
|
|
public void setCheckCycle(int checkCycle) {
|
this.checkCycle = checkCycle;
|
}
|
|
public Byte getCheckCycleUnit() {
|
return checkCycleUnit;
|
}
|
|
public void setCheckCycleUnit(Byte checkCycleUnit) {
|
this.checkCycleUnit = checkCycleUnit;
|
}
|
|
public int getNoticeTime() {
|
return noticeTime;
|
}
|
|
public void setNoticeTime(int noticeTime) {
|
this.noticeTime = noticeTime;
|
}
|
|
public Byte getNoticeTimeUnit() {
|
return noticeTimeUnit;
|
}
|
|
public void setNoticeTimeUnit(Byte noticeTimeUnit) {
|
this.noticeTimeUnit = noticeTimeUnit;
|
}
|
|
public int getValidTime() {
|
return validTime;
|
}
|
|
public void setValidTime(int validTime) {
|
this.validTime = validTime;
|
}
|
|
public Byte getValidTimeUnit() {
|
return validTimeUnit;
|
}
|
|
public void setValidTimeUnit(Byte validTimeUnit) {
|
this.validTimeUnit = validTimeUnit;
|
}
|
|
public Date getNextNoticeTime() {
|
return nextNoticeTime;
|
}
|
|
public void setNextNoticeTime(Date nextNoticeTime) {
|
this.nextNoticeTime = nextNoticeTime;
|
}
|
|
public Date getNextCheckTime() {
|
return nextCheckTime;
|
}
|
|
public void setNextCheckTime(Date nextCheckTime) {
|
this.nextCheckTime = nextCheckTime;
|
}
|
|
public Date getLastCheckTime() {
|
return lastCheckTime;
|
}
|
|
public void setLastCheckTime(Date lastCheckTime) {
|
this.lastCheckTime = lastCheckTime;
|
}
|
|
public Date getFirstStartTime() {
|
return firstStartTime;
|
}
|
|
public void setFirstStartTime(Date firstStartTime) {
|
this.firstStartTime = firstStartTime;
|
}
|
}
|