|
@@ -0,0 +1,30 @@
|
|
|
|
|
+package com.ydtech.constants.enums.dict.products;
|
|
|
|
|
+
|
|
|
|
|
+import com.ydtech.aop.request.DictEnum;
|
|
|
|
|
+import com.ydtech.constants.enums.dict.IBaseEnum;
|
|
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
|
|
+import lombok.Getter;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @description: 新车判断单位
|
|
|
|
|
+ * @author: wenks
|
|
|
|
|
+ * @date: 2023/11/23 17:41
|
|
|
|
|
+ **/
|
|
|
|
|
+@AllArgsConstructor
|
|
|
|
|
+@Getter
|
|
|
|
|
+@DictEnum(key = "newCarJudgingUnit", desc = "新车判断单位")
|
|
|
|
|
+public enum NewCarJudgingUnit implements IBaseEnum {
|
|
|
|
|
+
|
|
|
|
|
+ MONTH("month", "月", 0, 0),
|
|
|
|
|
+ DAY("day", "天", 1, 0);
|
|
|
|
|
+
|
|
|
|
|
+ // 编号
|
|
|
|
|
+ private final String code;
|
|
|
|
|
+ // 说明
|
|
|
|
|
+ private final String desc;
|
|
|
|
|
+ // 排序
|
|
|
|
|
+ private final Integer sort;
|
|
|
|
|
+ // 状态 0 启用 1 不启用
|
|
|
|
|
+ private final Integer status;
|
|
|
|
|
+
|
|
|
|
|
+}
|