package com.ruoyi.common.enums; public enum ProcessType implements BaseEnum{ TIMEKEEPING(1, "计时"), PIECERATE(2, "计件"); private final Integer code; private final String value; ProcessType(Integer code, String value) { this.code = code; this.value = value; } @Override public Integer getCode() { return this.code; } @Override public String getValue() { return this.value; } }