package com.gkhy.safePlatform.specialWork.model.dto.req;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
// 作业申请的请求体
|
public class WorkApplyReqDTO<T> implements Serializable {
|
|
private static final long serialVersionUID = 2538730610582299235L;
|
// 作业类型
|
private Byte workType;
|
|
// 作业等级
|
private Byte workLevel;
|
|
// 预期作业开始进行时间
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private LocalDateTime expStartTime;
|
|
// 预期作业结束进行时间
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private LocalDateTime expEndTime;
|
|
private List<Long> operatorUids;
|
// 作业内容
|
private String workContent;
|
// 作业地点
|
private String workLocation;
|
// 危险辨识
|
private String hazardIdentification;
|
//物资配置id
|
private Long maBaseId;
|
|
private T workDetail;
|
|
//物资
|
// private List<WorkMaterialAddReqDTO> wmAddReqDTOList;
|
// 设备id列表
|
private List<Long> cameraIds;
|
|
//领取人
|
private List<Long> receiveUids;
|
|
public List<Long> getOperatorUids() {
|
return operatorUids;
|
}
|
|
public void setOperatorUids(List<Long> operatorUids) {
|
this.operatorUids = operatorUids;
|
}
|
|
public Byte getWorkType() {
|
return workType;
|
}
|
|
public void setWorkType(Byte workType) {
|
this.workType = workType;
|
}
|
|
public Byte getWorkLevel() {
|
return workLevel;
|
}
|
|
public void setWorkLevel(Byte workLevel) {
|
this.workLevel = workLevel;
|
}
|
|
public LocalDateTime getExpStartTime() {
|
return expStartTime;
|
}
|
|
public void setExpStartTime(LocalDateTime expStartTime) {
|
this.expStartTime = expStartTime;
|
}
|
|
public LocalDateTime getExpEndTime() {
|
return expEndTime;
|
}
|
|
public void setExpEndTime(LocalDateTime expEndTime) {
|
this.expEndTime = expEndTime;
|
}
|
|
public T getWorkDetail() {
|
return workDetail;
|
}
|
|
public void setWorkDetail(T workDetail) {
|
this.workDetail = workDetail;
|
}
|
|
|
public String getWorkContent() {
|
return workContent;
|
}
|
|
public void setWorkContent(String workContent) {
|
this.workContent = workContent;
|
}
|
|
public String getWorkLocation() {
|
return workLocation;
|
}
|
|
public void setWorkLocation(String workLocation) {
|
this.workLocation = workLocation;
|
}
|
|
public String getHazardIdentification() {
|
return hazardIdentification;
|
}
|
|
public void setHazardIdentification(String hazardIdentification) {
|
this.hazardIdentification = hazardIdentification;
|
}
|
|
// public List<WorkMaterialAddReqDTO> getWmAddReqDTOList() {
|
// return wmAddReqDTOList;
|
// }
|
//
|
// public void setWmAddReqDTOList(List<WorkMaterialAddReqDTO> wmAddReqDTOList) {
|
// this.wmAddReqDTOList = wmAddReqDTOList;
|
// }
|
|
public Long getMaBaseId() {
|
return maBaseId;
|
}
|
|
public void setMaBaseId(Long maBaseId) {
|
this.maBaseId = maBaseId;
|
}
|
|
public List<Long> getReceiveUids() {
|
return receiveUids;
|
}
|
|
public void setReceiveUids(List<Long> receiveUids) {
|
this.receiveUids = receiveUids;
|
}
|
|
public List<Long> getCameraIds() {
|
return cameraIds;
|
}
|
|
public void setCameraIds(List<Long> cameraIds) {
|
this.cameraIds = cameraIds;
|
}
|
}
|