package com.newfiber.modules.inspection.enums; public enum EInspectionInfoStatus { /** *巡检状态(0待巡检/1巡检中/2已完成) */ TO_START(0,"待巡检"), DOING(1,"巡检中"), DONE(2,"已完成") ; 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; } EInspectionInfoStatus(Integer key, String value) { this.key = key; this.value = value; } }