商品模块代码提交
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
package com.czg.service.product.enums;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位类型
|
||||||
|
* @author tankaikai
|
||||||
|
* @since 2025-02-11 14:49
|
||||||
|
*/
|
||||||
|
public enum UnitTypeEnum {
|
||||||
|
/**
|
||||||
|
* 计数
|
||||||
|
*/
|
||||||
|
NUMBER("number"),
|
||||||
|
/**
|
||||||
|
* 记重
|
||||||
|
*/
|
||||||
|
WEIGHT("weight");
|
||||||
|
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
UnitTypeEnum(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String value() {
|
||||||
|
return this.value;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user