package com.newfiber.modules.inspection.enums; public enum EWorkScheduleStatus { /** * to_effect待生效/to_inspect待巡检/inspected已巡检/expired已过期 */ TO_EFFECT("to_effect","待生效"), TO_INSPECT("to_inspect","待巡检"), INSPECTED("inspected","已巡检"), EXPIRED("expired","已过期"), ; private String key; private String value; public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } EWorkScheduleStatus(String key, String value) { this.key = key; this.value = value; } }