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
| package com.zt.life.core.constant;
|
| import com.zt.common.annotation.Dictionary;
| import com.zt.common.constant.IDictionary;
|
| @Dictionary(
| type = "project_progress",
| name = "项目进度"
| )
| public enum ProjectProgress implements IDictionary {
|
| Default(1, "方案设计"),
| Info(2, "施工设计"),
| Partially(3, "航行试验"),
| Finish(4, "已完工");
|
|
| private Integer value;
| private String name;
|
| private ProjectProgress(Integer value, String name) {
| this.value = value;
| this.name = name;
| }
|
| public Integer getValue() {
| return this.value;
| }
|
| public String getName() {
| return this.name;
| }
| }
|
|