package com.gkhy.safePlatform.safeCheck.model.dto.resp;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gkhy.safePlatform.safeCheck.entity.SafeCheckTaskAndQuota;
|
import io.lettuce.core.StrAlgoArgs;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
public class SafeCheckTaskMobilePageRespDTO implements Serializable {
|
|
private Long id;
|
|
//任务单元名字
|
private String taskName;
|
|
//任务单元类型
|
private Byte taskType;
|
|
//任务状态
|
private Byte taskStatus;
|
|
//任务是否被认领:1-未认领,22已认领
|
private Byte taskClaim;
|
|
//执行人ID
|
private Long execUserId;
|
|
//执行人姓名
|
private String execUserName;
|
|
//巡检周期-数值
|
private int checkCycle;
|
|
//时间单位:1-分钟,2-小时,3-日,4-月,5-年
|
private String checkCycleUnit;
|
|
//巡检链中的巡检点的个数
|
private int pointsLength;
|
|
//执行班组name
|
private String execClassgroup;
|
|
//任务开始时间
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date startTime;
|
|
//任务结束时间
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date validTime;
|
|
//创建人
|
private String createUserName;
|
|
//创建时间
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date gmtCreate;
|
|
//所有巡检点
|
private List<SafeCheckTaskAndQuotaMobileRespDTO> points;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getTaskName() {
|
return taskName;
|
}
|
|
public void setTaskName(String taskName) {
|
this.taskName = taskName;
|
}
|
|
public Byte getTaskType() {
|
return taskType;
|
}
|
|
public void setTaskType(Byte taskType) {
|
this.taskType = taskType;
|
}
|
|
public Byte getTaskStatus() {
|
return taskStatus;
|
}
|
|
public void setTaskStatus(Byte taskStatus) {
|
this.taskStatus = taskStatus;
|
}
|
|
public Long getExecUserId() {
|
return execUserId;
|
}
|
|
public void setExecUserId(Long execUserId) {
|
this.execUserId = execUserId;
|
}
|
|
public String getExecUserName() {
|
return execUserName;
|
}
|
|
public void setExecUserName(String execUserName) {
|
this.execUserName = execUserName;
|
}
|
|
public Byte getTaskClaim() {
|
return taskClaim;
|
}
|
|
public void setTaskClaim(Byte taskClaim) {
|
this.taskClaim = taskClaim;
|
}
|
|
public int getCheckCycle() {
|
return checkCycle;
|
}
|
|
public void setCheckCycle(int checkCycle) {
|
this.checkCycle = checkCycle;
|
}
|
|
public String getCheckCycleUnit() {
|
return checkCycleUnit;
|
}
|
|
public void setCheckCycleUnit(String checkCycleUnit) {
|
this.checkCycleUnit = checkCycleUnit;
|
}
|
|
public int getPointsLength() {
|
return pointsLength;
|
}
|
|
public void setPointsLength(int pointsLength) {
|
this.pointsLength = pointsLength;
|
}
|
|
public String getExecClassgroup() {
|
return execClassgroup;
|
}
|
|
public void setExecClassgroup(String execClassgroup) {
|
this.execClassgroup = execClassgroup;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getValidTime() {
|
return validTime;
|
}
|
|
public void setValidTime(Date validTime) {
|
this.validTime = validTime;
|
}
|
|
public String getCreateUserName() {
|
return createUserName;
|
}
|
|
public void setCreateUserName(String createUserName) {
|
this.createUserName = createUserName;
|
}
|
|
public Date getGmtCreate() {
|
return gmtCreate;
|
}
|
|
public void setGmtCreate(Date gmtCreate) {
|
this.gmtCreate = gmtCreate;
|
}
|
|
public List<SafeCheckTaskAndQuotaMobileRespDTO> getPoints() {
|
return points;
|
}
|
|
public void setPoints(List<SafeCheckTaskAndQuotaMobileRespDTO> points) {
|
this.points = points;
|
}
|
}
|