提交 | 用户 | 时间
|
218503
|
1 |
package com.iailab.module.data.common.enums; |
潘 |
2 |
|
|
3 |
/** |
|
4 |
* @author PanZhibao |
|
5 |
* @Description |
|
6 |
* @createTime 2024年05月25日 |
|
7 |
*/ |
|
8 |
public enum IndTimeRangeEnum { |
|
9 |
|
|
10 |
LAST_YEAR("LAST_YEAR", "LAST_YEAR"), |
|
11 |
THIS_YEAR("THIS_YEAR", "THIS_YEAR"), |
|
12 |
LAST_MONTH_12("LAST_MONTH_12", "LAST_MONTH_12"), |
|
13 |
YESTERDAY("YESTERDAY", "YESTERDAY"), |
|
14 |
TODAY("TODAY", "TODAY"), |
|
15 |
LAST_DAY_7("LAST_DAY_7", "LAST_DAY_7"), |
|
16 |
LAST_DAY_30("LAST_DAY_30", "LAST_DAY_30"); |
|
17 |
|
|
18 |
private String code; |
|
19 |
|
|
20 |
private String name; |
|
21 |
|
|
22 |
IndTimeRangeEnum(String code, String name) { |
|
23 |
this.code = code; |
|
24 |
this.name = name; |
|
25 |
} |
|
26 |
|
|
27 |
public String getCode() { |
|
28 |
return code; |
|
29 |
} |
|
30 |
|
|
31 |
public void setCode(String code) { |
|
32 |
this.code = code; |
|
33 |
} |
|
34 |
|
|
35 |
public String getName() { |
|
36 |
return name; |
|
37 |
} |
|
38 |
|
|
39 |
public void setName(String name) { |
|
40 |
this.name = name; |
|
41 |
} |
|
42 |
} |