package com.hzs.common.core.enums;

import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 进销存订单类型
 */
@AllArgsConstructor
@Getter
public enum EScmOrderType {
    /**
     * 1=采购订单
     */
    PO_ORDER(1, "采购订单", 0, EnumsPrefixConstants.ORDER_STATUS + "1"),

    /**
     * 2=采购入库单
     */
    PURCHASE_IN(2, "采购入库单", 0, EnumsPrefixConstants.ORDER_STATUS + "2"),

    /**
     * 3=其他入库单
     */
    GENERAL_IN(3, "其他入库单", 0, EnumsPrefixConstants.ORDER_STATUS + "3"),

    /**
     * 4=其他出库单
     */
    GENERAL_OUT(4, "其他出库单", 0, EnumsPrefixConstants.ORDER_STATUS + "4"),

    /**
     * 6=销售出库单
     */
    SALE_ORDER(5, "采购订单", 0, EnumsPrefixConstants.ORDER_STATUS + "5"),

    /**
     * 6=销售出库单
     */
    SALE_OUT(6, "销售出库单", 0, EnumsPrefixConstants.ORDER_STATUS + "6"),

    /**
     * 7=调拨订单
     */
    TRANS_ORDER(7, "调拨订单", 0, EnumsPrefixConstants.ORDER_STATUS + "7"),

    /**
     * 8=调拨入库单
     */
    TRANS_IN(8, "调拨入库单", 0, EnumsPrefixConstants.ORDER_STATUS + "8"),

    /**
     * 9=调拨出库单
     */
    TRANS_OUT(9, "调拨出库单", 0, EnumsPrefixConstants.ORDER_STATUS + "9"),

    /**
     * 10=库存盘点单
     */
    INVENTORY_ORDER(10, "库存盘点单", 0, EnumsPrefixConstants.ORDER_STATUS + "10"),

    /**
     * 11=业务领用订单
     */
    IO_ORDER(11, "业务领用订单", 0, EnumsPrefixConstants.ORDER_STATUS + "11"),

    /**
     * 12=店铺发货订单
     */
    STORE_ORDER(12, "店铺发货订单", 0, EnumsPrefixConstants.ORDER_STATUS + "12"),

    /**
     * 13=销售订单
     */
    SO_ORDER(13, "销售订单", 0, EnumsPrefixConstants.ORDER_STATUS + "13"),
    ;

    /**
     * 实际值
     */
    private final int value;
    /**
     * 显示标签
     */
    private final String label;
    /**
     * 是否启用（0=是,1=否） -- 来源EYesNo
     */
    private final int enable;
    /**
     * 国际化翻译key值
     */
    private final String key;
}
