![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
兜不兜先生
温故而知新,坚持学习
展开
-
validator 基于hibernate实现灵活验证
注解实体类@Datapublic class OrderDemandDTO implements DtoConverter<OrderDemand> { private Integer id; @NotNull(message = "订单ID不能为空") private Integer orderId; private Integer destinationCity; private String destinationCityName;原创 2020-06-02 14:43:15 · 190 阅读 · 0 评论 -
validation list嵌套对象校验
/** * @ Author :L&C * @ Date : 2019/12/27 15:08 * @ Description :模板接收对象 */@Datapublic class TemplateVO implements Serializable { /** * 主键id */ private Integer id; /*...原创 2020-01-02 11:53:23 · 7215 阅读 · 1 评论