ANDON枚举

yun-zuoyi
柯裕 6 years ago
parent e2ce7c5ce9
commit 72ac3490e4

@ -185,4 +185,33 @@ public class AndonEnumUtil {
return tmp;
}
}
/**
* ANDONMM= QM= EQ= GY= JC=
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ALARM_CODE{
PART("MM","物料"),
QUALITY("QM","质量"),
EQUIP("EQ","设备"),
PROCESS("GY","工艺"),
CHECK("JC","检测");
private String value;
private String description;
ALARM_CODE(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
}
}

Loading…
Cancel
Save