package com.qianwen.smartman.modules.coproduction.enums; public enum WorkstationStatusEnum { UNDRESSED(1, "未加工"), started(2, "已开工"); private Integer code; private String name; WorkstationStatusEnum(final Integer code, final String name) { this.code = code; this.name = name; } public Integer getCode() { return this.code; } public String getName() { return this.name; } }