Commit 87de7441 by 丁伟峰

加上了接口校验

1 parent cb420a07
......@@ -2,13 +2,23 @@ package com.alibaba.cloud.integration.order.dto;
import lombok.Data;
import javax.validation.constraints.NotNull;
@Data
public class CapacityOrderQueryReqDTO {
@NotNull(message = "location不能为空")
private String location;
private String address;
@NotNull(message = "brand不能为空")
private String brand;
@NotNull(message = "type不能为空")
private String type;
@NotNull(message = "skill不能为空")
private String skill;
@NotNull(message = "beginDate不能为空")
private String beginDate;
@NotNull(message = "endDate不能为空")
private String endDate;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!