package com.newfiber.modules.inspection.enums; public enum EApprovalStatus { /** * 状态(0.审批中 未完结 1.审批通过 已完结 2.审批不通过) */ DOING(0, "审批中"), ADOPT(1, "审批通过"), No(2, "审批不通过"), EX(3, "验收"), END(4, "完成"); private Integer key; private String value; public Integer getKey() { return key; } public void setKey(Integer key) { this.key = key; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } EApprovalStatus(Integer key, String value) { this.key = key; this.value = value; } }