This commit is contained in:
张良(004796)
2024-03-08 14:15:26 +08:00
parent cfd8feb5eb
commit 01f5dcbb54
30 changed files with 431 additions and 22 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}