guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
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
package cn.stylefeng.roses.kernel.expand.modular.api.enums;
 
import lombok.Getter;
 
/**
 * 字段类型枚举
 *
 * @author fengshuonan
 * @date 2022/4/1 10:34
 */
@Getter
public enum FieldTypeEnum {
 
    /**
     * 字符串
     */
    STR(1),
 
    /**
     * 数字
     */
    NUM(2),
 
    /**
     * 字典格式
     */
    DICT(3);
 
    private final Integer code;
 
    FieldTypeEnum(Integer code) {
        this.code = code;
    }
 
}