Commit ab64bfa0 by 丁伟峰

增加了valid

1 parent 82ca7f40
......@@ -26,6 +26,11 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
......
package com.alibaba.cloud.integration.order.dto;
import javax.validation.constraints.NotEmpty;
@lombok.Data
public class CapacityStatQueryReqDTO {
@NotEmpty
private String startDate;
@NotEmpty
private String endDate;
/**
* cluster/branch/group
*/
@NotEmpty
private String levelType;
/**
* clusterId/branchId/groupId
*/
@NotEmpty
private String levelValue;
private Integer page;
private Integer size;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!