首页>代码>springmvc+hibernate+jbpm开发OA自动化办公后台管理系统源码下载>/jroo/src/com/jroo/base/annotation/Validation.java
package com.jroo.base.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Documented @Retention(RetentionPolicy.RUNTIME) @Target( {ElementType.FIELD,ElementType.METHOD}) public @interface Validation { /** *是否可以为null * @return */ boolean notNull() default true; /** * 默认值 * @return */ String defaultValue() default ""; /** * 是否是email * @return */ boolean email() default false; /** * email格式 * @return */ String emailPattern() default "/^***@*******$/"; }

xyxyxy_59 LV1
2022年12月18日
东方明亮 LV5
2022年12月4日
cx123123 LV7
2022年5月16日
liuzejuncn LV6
2022年3月13日
wanglinddad LV51
2022年3月9日
winnie_cc LV4
2022年2月25日
微信网友_5845420553359360 LV4
2022年2月23日
Patrick1988 LV4
2022年1月12日
123千瓦洒洒 LV11
2021年12月8日
cp19791101 LV12
2021年11月18日