Defines MES warehouse inventory transaction types such as inbound, outbound, transfer, and adjustment with direction flags. Reuse for classifying stock movements in MES inventory modules.
// 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.wm;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjUtil;
import cn.iocoder.yudao.framework.common.core.ArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
/**
* MES 库存事务类型枚举
*
* @author 芋道源码
*/
@Getter
@AllArgsConstructor
public enum MesWmTransactionTypeEnum implements ArrayValuable<Integer> {
/**
* 入库
*/
IN(1, "入库", true),
/**
* 出库
*/
OUT(2, "出库", false),
/**
* 调拨移出
*/
MOVE_OUT(3, "调拨移出", false),
/**
* 调拨移入
*/
MOVE_IN(4, "调拨移入", true),
/**
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key