diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderSourceTypeEnum.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderSourceTypeEnum.java new file mode 100644 index 000000000..8b8a631b9 --- /dev/null +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/common/enums/OrderSourceTypeEnum.java @@ -0,0 +1,31 @@ +package com.youlai.mall.oms.common.enums; + +import com.youlai.common.base.IBaseEnum; +import lombok.Getter; + +/** + * 订单来源类型枚举 + * + * @author huawei + * @email huawei_code@163.com + * @date 2021/1/16 + */ + +public enum OrderSourceTypeEnum implements IBaseEnum { + + APP(1, "APP"), // APP订单 + PC(2, "PC"), // PC订单 + ; + + OrderSourceTypeEnum(Integer value, String label) { + this.value = value; + this.label = label; + } + + + @Getter + private Integer value; + + @Getter + private String label; +}