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; } }