新增获得支付钱包接口

This commit is contained in:
jason
2023-08-25 11:14:59 +08:00
parent 9b6f5bd503
commit 1ffbd9399e
15 changed files with 299 additions and 135 deletions

View File

@ -4,20 +4,21 @@ import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 钱包交易大类枚举
* 钱包交易业务分类
*
* @author jason
*/
@AllArgsConstructor
@Getter
public enum WalletTransactionGategoryEnum {
TOP_UP(1, "充值"),
SPENDING(2, "支出");
public enum WalletBizTypeEnum {
RECHARGE(1, "充值"),
RECHARGE_REFUND(2, "充值退款");
// TODO 后续增加
/**
* 分类
* 业务分类
*/
private final Integer category;
private final Integer bizType;
/**
* 说明

View File

@ -4,16 +4,15 @@ import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 钱包操作类型枚举
* 钱包交易大分类
*
* @author jason
*/
@AllArgsConstructor
@Getter
public enum WalletOperateTypeEnum {
TOP_UP_INC(1, "充值增加"),
ORDER_DEC(2, "订单消费扣除");
// TODO 其它类型
public enum WalletTypeEnum {
RECHARGE(1, "充值"),
EXPENSE(2, "消费");
private final Integer type;