优化话费定时任务代码

dev-discount
袁野 2 years ago
parent ff0c2b148f
commit 6e0ba7c112
  1. 45
      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;
}
}
Loading…
Cancel
Save