shz.spring.model.RequestVo Maven / Gradle / Ivy
package shz.spring.model;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
public class RequestVo {
@Valid
@NotNull(message = "请求数据不能为空")
private T data;
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
@Override
public String toString() {
return "RequestVo{" +
"data=" + data +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy