init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.ruoyi.xq.enums.common;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum OrderTypeEnum {
|
||||
VIP("V"),
|
||||
WITHDRAW("W"),
|
||||
;
|
||||
|
||||
private final String type;
|
||||
|
||||
OrderTypeEnum(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.ruoyi.xq.enums.common;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum TraceIdEnum {
|
||||
WITHDRAW("WT","提现"),
|
||||
;
|
||||
private final String code;
|
||||
private final String text;
|
||||
|
||||
TraceIdEnum(String code, String text) {
|
||||
this.code = code;
|
||||
this.text = text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.ruoyi.xq.enums.pay;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum PayStatusEnum {
|
||||
READY_PAY(0,"待支付"),
|
||||
PAY(1,"已支付"),
|
||||
REFUND(5,"已退款"),
|
||||
NO_PAY(10,"无需支付"),
|
||||
;
|
||||
|
||||
private final Integer code;
|
||||
private final String name;
|
||||
|
||||
PayStatusEnum(Integer code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user