From 6e0ba7c1129dd9b9df84392e583ca668e8724bb6 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 13 Mar 2023 10:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=9D=E8=B4=B9=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hai/enum_type/ActionNameEnum.java | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 hai-service/src/main/java/com/hai/enum_type/ActionNameEnum.java diff --git a/hai-service/src/main/java/com/hai/enum_type/ActionNameEnum.java b/hai-service/src/main/java/com/hai/enum_type/ActionNameEnum.java new file mode 100644 index 00000000..c1d12c34 --- /dev/null +++ b/hai-service/src/main/java/com/hai/enum_type/ActionNameEnum.java @@ -0,0 +1,45 @@ +package com.hai.enum_type; + +public enum ActionNameEnum { + actionName0(0, "QR_SCENE" , "临时的整型参数值"), + actionName1(1, "QR_STR_SCENE" , "临时的字符串参数值"), + actionName2(2, "QR_LIMIT_SCENE" , "永久的整型参数值"), + actionName3(3, "QR_LIMIT_STR_SCENE" , "永久的字符串参数值"), + ; + + private Integer number; + + private String name; + + private String actionInfo; + + ActionNameEnum(int number, String name , String actionInfo) { + this.number = number; + this.name = name; + this.actionInfo = actionInfo; + } + + public Integer getNumber() { + return number; + } + + public void setNumber(Integer number) { + this.number = number; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getActionInfo() { + return actionInfo; + } + + public void setActionInfo(String actionInfo) { + this.actionInfo = actionInfo; + } +}