# scrumJava **Repository Path**: qlpsoul/scrumJava ## Basic Information - **Project Name**: scrumJava - **Description**: 自己总结的java框架,包含学习记录,技术探索,工具类等内容 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-04-09 - **Last Updated**: 2021-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # scrumJava 自己总结的java框架,包含学习记录,技术探索,工具类等内容 #子模块 1、scrumJava-core 核心模块,包含各种通用的工具方法和配置。 2、scrumJava-learning 学习模块,包含jdk各版本新特性使用及主要API学习记录 # 第三方框架使用说明 1、数据校验框架hibernate-validator 1.1、@Null @NotNull [对象] 为空 / 不能为空 1.2、@NotBlank [字符串] 不能为空,且必须存在至少一个非空白字符 1.3、@NotEmpty [字符串、集合、Map、数组] 不为空(size/length >0) 1.4、@Email [字符串] email合法性校验 1.5、@URL [字符串] URL合法性校验 1.6、@AssertTrue @AssertFalse [布尔值] 不为空的情况下校验值是否是true/false 1.7、@Future @FutureOrPresent [日期] 为当前时间之后/日期为当前时间或者当前时间之后 1.8、@Past @PastOrPresent [日期] 为当前时间之前/日期为当前时间或者当前时间之前 1.9、@Min [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 小于等于指定long值 1.10、@Max [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 大于等于指定long值 1.11、@DecimalMin [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 小于等于指定数值型字符串 1.12、@DecimalMax [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 大于等于指定数值型字符串 1.13、@Negative [BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 负数 1.14、@NegativeOrZero [BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 负数和0 1.15、@Positive [BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 正数 1.16、@PositiveOrZero [BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 正数和0 1.17、@Digits(integer = 整数位数上限, fraction = 小数位数上限) [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 整数位数和小数位数上限 1.18、@Size [字符串、集合、Map、数组] 大小范围(length/size>0) 1.19、@Length [字符串] 字符串长度范围 1.20、@Range [数值型字符串、BigDecimal、BigInteger,byte、short、int、long、float、double以及包装类] 指定数值上下限 1.21、@Pattern [字符串] 匹配指定的正则表达式 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)