Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 640 Bytes

readme.md

File metadata and controls

29 lines (16 loc) · 640 Bytes

hibernate validator 增强版

1.0.0 version

* 提供了7个自定义注解 验证日期、身份证、手机号、密码是否合法
* 提供了默认5个group 用于不同场景下的分组校验
* 提供了 工具包 进行手动校验
* 提供了AnnotationTest 测试类 快速了解该项目做了什么工作

如何依赖

       <dependency>
            <groupId>io.github.caiquan-github</groupId>
            <artifactId>hibernate-validator-plus</artifactId>
            <version>1.0.0</version>
        </dependency>

如何使用

https://github.com/caiquan-github/hibernate-validator-plus-demo