摘要: 日期格式限定 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") 分组校验 如果说某个校验项没有指定分组,默认属于Default分组,分组可以继承,通过groups指定单独的分组 @Data public class Category { @NotNull(gr 阅读全文
posted @ 2025-04-09 21:53 YANGzLIN...11 阅读(13) 评论(0) 推荐(0)