admin
2021-09-24 881f273bca0f94345efb2c0cac52279af4a7f4e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package org.yeshi.utils.generater.annotation.admin.form;
 
import org.yeshi.utils.generater.entity.admin.FormVerifyType;
 
import java.lang.annotation.*;
 
/**
 * @author Administrator
 * @title: TextArea
 * @projectName utils
 * @description: 文本域
 * @date 2021/9/2312:07
 */
@Documented
@Target(ElementType.FIELD)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface TextArea {
 
    //标题
    String title();
 
    //是否可更新
    boolean update() default true;
 
    //简介
    String desc() default "";
 
    //是否禁止编辑
    boolean disable() default false;
 
    //是否必须
    boolean require() default false;
 
    //最小长度
    int minLength() default -1;
 
    //最长长度
    int maxLength() default -1;
 
    //验证类型
    FormVerifyType verifyType();
 
    //如果验证类型为正则需要此项
    String verifyValue() default "";
 
    //如果验证类型为正则需要此项
    String verifyNotifyMsg() default "";
 
    String placeHolder() default "";
 
}