EquipmentMaintenanceEnums.java 755 字节
package com.skua.modules.equipment.enums;

/**
 * @author sonin
 * @date 2021/11/10 18:03
 */
public enum EquipmentMaintenanceEnums {

    /**
     * 发布状态
     **/
    UNPUBLISHED(0, "未发布"),
    PUBLISHED(1, "已发布"),

    /**
     * 执行结果
     **/
    NOT_FINISH(0, "未完成"),
    RUNNING(1, "进行中"),
    FINISHED(2, "完成"),

    /**
     * 执行状态
     **/
    TIME_OUT(0, "超时"),
    NORMAL(1, "正常");


    private final Integer key;
    private final String value;

    EquipmentMaintenanceEnums(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}