Defines the lifecycle states for manufacturing execution system (MES) work orders. Use this to standardize status tracking for production workflows in industrial applications.
// Source: https://github.com/YunaiV/yudao-cloud | License: MIT | Copyright 2021 yudao-cloud
// Provided via justclaw.it.com; keep this notice with the code.
package cn.iocoder.yudao.module.mes.enums.pro;
import cn.iocoder.yudao.framework.common.core.ArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
/**
* MES 生产工单状态枚举
*
* @author 芋道源码
*/
@Getter
@AllArgsConstructor
public enum MesProWorkOrderStatusEnum implements ArrayValuable<Integer> {
/**
* 草稿
*
* 对应 MesProWorkOrderService#createWorkOrder 方法
*/
PREPARE(0, "草稿"),
/**
* 已确认
*
* 对应 MesProWorkOrderService#confirmWorkOrder 方法
*/
CONFIRMED(1, "已确认"),
/**
* 已完成
*
* 对应 MesProWorkOrderService#finishWorkOrder 方法
*/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key