package com.gk.hotwork.specialWork.model.dto.req;
|
|
import javax.validation.constraints.NotNull;
|
import java.time.LocalDateTime;
|
|
/**
|
* 作业基础信息请求对象
|
*/
|
public class WorkReqDTO {
|
|
//所属企业ID
|
private Long eid;
|
|
//所属部门ID
|
@NotNull(message = "部门不可为空!")
|
private Long depId;
|
|
//申请人员ID
|
@NotNull(message = "申请不可为空!")
|
private Long applyUid;
|
|
//作业类型
|
@NotNull(message = "作业类型不可为空!")
|
private Byte workType;
|
|
//作业等级
|
@NotNull(message = "作业等级不可为空!")
|
private Byte workLevel;
|
|
//作业状态
|
private Byte status;
|
|
//当前所处审批流程层级
|
private Integer approvalStep;
|
|
//申请时间
|
@NotNull(message = "申请时间不可为空!")
|
private LocalDateTime applyTime;
|
|
//预期作业开始进行时间
|
@NotNull(message = "作业开始时间不可为空!")
|
private LocalDateTime expStartTime;
|
|
//预期作业结束进行时间
|
@NotNull(message = "作业结束时间不可为空!")
|
private LocalDateTime expEndTime;
|
|
//作业证编号
|
private String workPermitNo;
|
|
//作业人
|
private Long operatorId;
|
|
//作业人编号
|
private String operatorCertificate;
|
|
public Long getEid() {
|
return eid;
|
}
|
|
public void setEid(Long eid) {
|
this.eid = eid;
|
}
|
|
public Long getDepId() {
|
return depId;
|
}
|
|
public void setDepId(Long depId) {
|
this.depId = depId;
|
}
|
|
public Long getApplyUid() {
|
return applyUid;
|
}
|
|
public void setApplyUid(Long applyUid) {
|
this.applyUid = applyUid;
|
}
|
|
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 Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
public Integer getApprovalStep() {
|
return approvalStep;
|
}
|
|
public void setApprovalStep(Integer approvalStep) {
|
this.approvalStep = approvalStep;
|
}
|
|
public LocalDateTime getApplyTime() {
|
return applyTime;
|
}
|
|
public void setApplyTime(LocalDateTime applyTime) {
|
this.applyTime = applyTime;
|
}
|
|
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 String getWorkPermitNo() {
|
return workPermitNo;
|
}
|
|
public void setWorkPermitNo(String workPermitNo) {
|
this.workPermitNo = workPermitNo;
|
}
|
|
public Long getOperatorId() {
|
return operatorId;
|
}
|
|
public void setOperatorId(Long operatorId) {
|
this.operatorId = operatorId;
|
}
|
|
public String getOperatorCertificate() {
|
return operatorCertificate;
|
}
|
|
public void setOperatorCertificate(String operatorCertificate) {
|
this.operatorCertificate = operatorCertificate;
|
}
|
}
|