javax.validation注解使用

@Pattern(regexp = "^[0-9]*$",message = "完成比例(进度)必须是数字")
原文地址:https://www.cnblogs.com/super-chao/p/9242508.html