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
| package com.estate.expert.admin.domain.plan;
|
| import com.estate.expert.admin.domain.common.option.IOptionVo;
| import lombok.Getter;
|
| /**
| * 计划类型
| */
| @Getter
| public enum PlanType implements IOptionVo {
|
| // 安全检查
| SECURITY_CHECK("安全检查"),
|
| // 质量检查
| QUALITY_CHECK("质量检查"),
|
| // 综合检查
| COMPREHENSIVE_CHECK("综合检查"),
|
| // 设备检查
| EQUIPMENT_CHECK("设备检查"),
|
| // 运营检查
| OPERATION_CHECK("运营检查");
|
| final String desc;
|
| PlanType(String desc) {
| this.desc = desc;
| }
| @Override
| public String getOptionCode() {
| return name();
| }
|
| @Override
| public String getOptionName() {
| return desc;
| }
| }
|
|