| 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
 | | /** |  |  * Copyright (c) 2018 人人开源 All rights reserved. |  |  * |  |  * https://www.renren.io |  |  * |  |  * 版权所有,侵权必究! |  |  */ |  |   |  | package com.zt.modules.sys.enums; |  |   |  | import com.zt.common.annotation.Dictionary; |  | import com.zt.common.constant.IDictionary; |  |   |  | /** |  |  * 参数值类型 |  |  * |  |  * @author hehz |  |  * @since 1.0.0 |  |  */ |  | @Dictionary(type = "param_value_type", name = "参数值类型") |  | public enum ParamValueType implements IDictionary { |  |   |  |     STRING(1, "字符串"), INT(2, "整型"), LONG(3, "长整型"), NUMBER(4, "小数"), BOOLEAN(5, "布尔值"); |  |   |  |     private Integer value; |  |     private String name; |  |   |  |     ParamValueType(int value, String name) { |  |         this.value = value; |  |         this.name = name; |  |     } |  |   |  |     @Override |  |     public Integer getValue() { |  |         return value; |  |     } |  |   |  |     @Override |  |     public String getName() { |  |         return name; |  |     } |  |   |  | } | 
 |