package com.gkhy.safePlatform.specialWork.model.dto.req; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; public class ApprovalRuleItemMeasureAddReqDTO { //安全措施所属作业类型 @NotNull(message = "作业类型不可为空!") private Byte workType; //安全措施类型,1:选择 | 2:填空 @NotNull(message = "安全措施类型不可为空!") private Byte type; //正确值 private Byte correctVal; //文字内容,最长64汉字 @NotBlank(message = "文字内容不可为空!") private String context; public Byte getWorkType() { return workType; } public void setWorkType(Byte workType) { this.workType = workType; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public Byte getCorrectVal() { return correctVal; } public void setCorrectVal(Byte correctVal) { this.correctVal = correctVal; } public String getContext() { return context; } public void setContext(String context) { this.context = context; } }