Jelajahi Sumber

增加设备操作记录类型枚举

hechunping 2 tahun lalu
induk
melakukan
14400e3514

+ 25 - 0
device-api/src/main/java/com/xy/utils/enums/DeviceRecordsChangeType.java

@@ -0,0 +1,25 @@
+package com.xy.utils.enums;
+
+import lombok.Getter;
+
+/**
+ * <p>
+ * 设备操作记录类型
+ * </p>
+ *
+ * @author hechunping
+ * @since 2023/3/2
+ */
+@Getter
+public enum DeviceRecordsChangeType {
+    CHANGE_PRICE("1","更改价格"),
+    BING_GOODS("2","绑定商品")
+    ;
+    private String code;
+    private String msg;
+
+    DeviceRecordsChangeType(String code, String msg) {
+        this.code = code;
+        this.msg = msg;
+    }
+}