spring boot注解

 @JSONField(name = "grantObjType")
        @Pattern(regexp = "(USER_TYPE)|(PROJECT_TYPE)",message = "授权对象类型只能USER_TYPE,PROJECT_TYPE")
        private String grantObjType;

 

posted @ 2019-07-11 20:44  刘百会  阅读(91)  评论(0编辑  收藏  举报