mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
refactor: 订单来源类型枚举优化
This commit is contained in:
parent
3f442055b6
commit
e15fea455e
@ -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<Integer> {
|
||||
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user