spring 校验参数

@Getter @Setter public class TestBean { private @NotNull String name; @Max(100) @Min(0) @NotNull private Integer age; @Max(100) @Min(0) @NotNull private Long money
相关文章
相关标签/搜索