@ -11,4 +11,12 @@ import javax.validation.constraints.*;
@ToString(callSuper = true)
public class VoucherCreateReqVO extends VoucherBaseVO {
@NotNull(message = "凭证号不能为空")
private String voucherNum;
@NotNull(message = "年度不能为空")
private String year;
@NotNull(message = "会计期间不能为空")
private String period;
}
@ -11,4 +11,11 @@ import javax.validation.constraints.*;
public class DepotCreateReqVO extends DepotBaseVO {
@NotNull(message = "库房名称不能为空")
private String name;
@NotNull(message = "所属立档单位名称不能为空")
private Long organizationId;
@ -11,4 +11,10 @@ import javax.validation.constraints.*;
public class DepotCabinetCreateReqVO extends DepotCabinetBaseVO {
@NotNull(message = "所属库房不能为空")
private Long depotId;
@NotNull(message = "档案柜名称不能为空")
public class OrganizationCreateReqVO extends OrganizationBaseVO {
@NotNull(message = "立档单位名称不能为空")
private String organizationName;
@NotNull(message = "全宗号不能为空")
private String caseNum;