org.jeecgframework.poi.excel.annotation
注释类型 ExcelVerify


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface ExcelVerify

Excel 导入校验

作者:
JueYue

可选元素摘要
 boolean interHandler
          接口校验
 boolean isEmail
          是电子邮件
 boolean isMobile
          是13位移动电话
 boolean isTel
          是座机号码
 int maxLength
          最大长度
 int minLength
          最小长度
 boolean notNull
          不允许空
 String regex
          正在表达式
 String regexTip
          正在表达式,错误提示信息
 

interHandler

public abstract boolean interHandler
接口校验

返回:
默认值:
false

isEmail

public abstract boolean isEmail
是电子邮件

返回:
默认值:
false

isMobile

public abstract boolean isMobile
是13位移动电话

返回:
默认值:
false

isTel

public abstract boolean isTel
是座机号码

返回:
默认值:
false

maxLength

public abstract int maxLength
最大长度

返回:
默认值:
-1

minLength

public abstract int minLength
最小长度

返回:
默认值:
-1

notNull

public abstract boolean notNull
不允许空

返回:
默认值:
false

regex

public abstract String regex
正在表达式

返回:
默认值:
""

regexTip

public abstract String regexTip
正在表达式,错误提示信息

返回:
默认值:
"\u6570\u636e\u4e0d\u7b26\u5408\u89c4\u8303"


Copyright © 2015. All Rights Reserved.