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