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
  | package com.zt.life.core.constant; 
 |    
 |  import com.zt.common.annotation.Dictionary; 
 |  import com.zt.common.constant.IDictionary; 
 |    
 |  @Dictionary( 
 |          type = "project_status", 
 |          name = "工程项目状态" 
 |  ) 
 |  public enum ProjectStatus implements IDictionary { 
 |    
 |      Default(0, "未填信息"), 
 |      Info(1, "已填信息"), 
 |      Partially(2, "部分录入"), 
 |      Finish(3, "已完成"), 
 |      Cancel(4, "已取消"); 
 |    
 |    
 |    
 |      private Integer value; 
 |      private String name; 
 |    
 |      private ProjectStatus(Integer value, String name) { 
 |          this.value = value; 
 |          this.name = name; 
 |      } 
 |    
 |      public Integer getValue() { 
 |          return this.value; 
 |      } 
 |    
 |      public String getName() { 
 |          return this.name; 
 |      } 
 |  } 
 |  
  |