创建商品服务

This commit is contained in:
xuelijun
2025-07-30 18:29:26 +08:00
parent 083b4e0bf1
commit d80bea35c6
31 changed files with 475 additions and 79 deletions

View File

@@ -0,0 +1,42 @@
package com.tashow.cloud.productapi.enums;
import lombok.Getter;
/**
* @Author LGF
* @create 2020/10/26 16:36
*/
public enum BaseEnum {
/**
* 基础 枚举
*/
YES_ONE(1, ""),
NO_ZERO(0, ""),
ENABLE_ZERO(0, "启用"),
FORBIDDEN_ONE(1, "禁用"),
YES_BINDING(1, "已绑定"),
NO_BINDING(0, "未绑定"),
NO(1, "删除"),
YES(0, "正常"),
HIDE(3, "隐藏"),
NO_TWO(2, ""),
;
@Getter
Integer key;
@Getter
String value;
;
BaseEnum(Integer key, String value) {
this.key = key;
this.value = value;
}
}