提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.ind.common; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author PanZhibao |
|
5 |
* @Description |
|
6 |
* @createTime 2024年05月25日 |
|
7 |
*/ |
|
8 |
public enum IndtimeGranularityEnum { |
|
9 |
|
|
10 |
DAY("DAY", "DAY"), |
|
11 |
MONTH("MONTH", "MONTH"); |
|
12 |
|
|
13 |
private String code; |
|
14 |
|
|
15 |
private String name; |
|
16 |
|
|
17 |
IndtimeGranularityEnum(String code, String name){ |
|
18 |
this.code = code; |
|
19 |
this.name = name; |
|
20 |
} |
|
21 |
|
|
22 |
public String getCode() { |
|
23 |
return code; |
|
24 |
} |
|
25 |
|
|
26 |
public void setCode(String code) { |
|
27 |
this.code = code; |
|
28 |
} |
|
29 |
|
|
30 |
public String getName() { |
|
31 |
return name; |
|
32 |
} |
|
33 |
|
|
34 |
public void setName(String name) { |
|
35 |
this.name = name; |
|
36 |
} |
|
37 |
} |