package com.gk.hotwork.doublePrevention.entity.dto.req;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.util.Date;
|
|
public class PreventDangerCheckWorkSaveReqDTO {
|
|
/**
|
* 排查作业类型:1-日常作业;2-周期作业
|
*/
|
private Byte checkWorkType;
|
/**
|
* 排查周期-数值
|
*/
|
private Integer checkCycle;
|
/**
|
* 时间单位:1-分钟,2-小时,3-日,4-月,5-年
|
*/
|
private Byte checkCycleUnit;
|
/**
|
* 有效时间,单位:1-分钟,2-小时,3-日,4-月,5-年
|
*/
|
private Byte validTimeUnit;
|
/**
|
* 通知时间,单位:1-分钟,2-小时,3-日,4-月,5-年
|
*/
|
private Byte noticeTimeUnit;
|
/**
|
* 提前通知时间-数值
|
*/
|
private Integer noticeTime;
|
/**
|
* 作业有效期-数值
|
*/
|
private Integer validTime;
|
/**
|
* 作业开启后首次排查任务开始时间
|
*/
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
private Date firstStartTime;
|
/**
|
* 检查作业名称
|
*/
|
private String checkWorkName;
|
/**
|
* 执行部门ID
|
*/
|
private Long execDepId;
|
/**
|
* 任务单元Id
|
*/
|
private Long taskUnitId;
|
|
public Long getTaskUnitId() {
|
return taskUnitId;
|
}
|
|
public void setTaskUnitId(Long taskUnitId) {
|
this.taskUnitId = taskUnitId;
|
}
|
|
public Byte getCheckWorkType() {
|
return checkWorkType;
|
}
|
|
public void setCheckWorkType(Byte checkWorkType) {
|
this.checkWorkType = checkWorkType;
|
}
|
|
public Integer getCheckCycle() {
|
return checkCycle;
|
}
|
|
public void setCheckCycle(Integer checkCycle) {
|
this.checkCycle = checkCycle;
|
}
|
|
public Byte getCheckCycleUnit() {
|
return checkCycleUnit;
|
}
|
|
public void setCheckCycleUnit(Byte checkCycleUnit) {
|
this.checkCycleUnit = checkCycleUnit;
|
}
|
|
public Integer getNoticeTime() {
|
return noticeTime;
|
}
|
|
public void setNoticeTime(Integer noticeTime) {
|
this.noticeTime = noticeTime;
|
}
|
|
public Byte getValidTimeUnit() {
|
return validTimeUnit;
|
}
|
|
public void setValidTimeUnit(Byte validTimeUnit) {
|
this.validTimeUnit = validTimeUnit;
|
}
|
|
public Byte getNoticeTimeUnit() {
|
return noticeTimeUnit;
|
}
|
|
public void setNoticeTimeUnit(Byte noticeTimeUnit) {
|
this.noticeTimeUnit = noticeTimeUnit;
|
}
|
|
public Integer getValidTime() {
|
return validTime;
|
}
|
|
public void setValidTime(Integer validTime) {
|
this.validTime = validTime;
|
}
|
|
public Date getFirstStartTime() {
|
return firstStartTime;
|
}
|
|
public void setFirstStartTime(Date firstStartTime) {
|
this.firstStartTime = firstStartTime;
|
}
|
|
public String getCheckWorkName() {
|
return checkWorkName;
|
}
|
|
public void setCheckWorkName(String checkWorkName) {
|
this.checkWorkName = checkWorkName;
|
}
|
|
public Long getExecDepId() {
|
return execDepId;
|
}
|
|
public void setExecDepId(Long execDepId) {
|
this.execDepId = execDepId;
|
}
|
}
|