package com.gkhy.safePlatform.safeCheck.model.dto.resp;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gkhy.safePlatform.safeCheck.model.dto.req.SafeCheckUnitAndQuotaReqDTO;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
public class SafeCheckTaskUnitRespDTO implements Serializable {
|
|
private Long id;
|
|
private String uuid;
|
|
//任务单元名称
|
private String unitName;
|
|
//作业类型:1-周期性作业;2-日常作业
|
private Byte workType;
|
|
//执行班组ID
|
private Long execClassgroupId;
|
|
//执行部门ID
|
private Long execDepId;
|
|
//文档地址
|
private String fileAddress;
|
|
//巡检周期-数值
|
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;
|
|
//作业调度起始时间
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
private Date firstStartTime;
|
|
//任务单元所有的巡检点
|
private List<SafeCheckUnitAndQuotaRespDTO> points;
|
|
public String getFileAddress() {
|
return fileAddress;
|
}
|
|
public void setFileAddress(String fileAddress) {
|
this.fileAddress = fileAddress;
|
}
|
|
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 String getUnitName() {
|
return unitName;
|
}
|
|
public void setUnitName(String unitName) {
|
this.unitName = unitName;
|
}
|
|
public Byte getWorkType() {
|
return workType;
|
}
|
|
public void setWorkType(Byte workType) {
|
this.workType = workType;
|
}
|
|
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 getFirstStartTime() {
|
return firstStartTime;
|
}
|
|
public void setFirstStartTime(Date firstStartTime) {
|
this.firstStartTime = firstStartTime;
|
}
|
|
public List<SafeCheckUnitAndQuotaRespDTO> getPoints() {
|
return points;
|
}
|
|
public void setPoints(List<SafeCheckUnitAndQuotaRespDTO> points) {
|
this.points = points;
|
}
|
}
|