新增枚举 样本类型

yun-zuoyi
wynne1005 5 years ago
parent 5c9da87650
commit 48b6634032

@ -5102,4 +5102,34 @@ public class MesPcnEnumUtil {
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PACKAGE_SAMPLE_TYPE {
NORMAL(10, "正常batch"),
FIRST(20, "首件"),
MIDDLE(30, "中件"),
LAST(40, "末件");
private int value;
private String description;
PACKAGE_SAMPLE_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
}
}

Loading…
Cancel
Save