From b70eb73d10dac775a223d91274f725e53d07cea0 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期一, 21 十月 2024 18:14:25 +0800 Subject: [PATCH] add: 钱包业务表 --- src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java | 52 ++++++++++++++++++++++++++ src/main/java/com/mzl/flower/entity/wallet/WalletBillRecord.java | 49 ++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mzl/flower/entity/wallet/WalletBillRecord.java b/src/main/java/com/mzl/flower/entity/wallet/WalletBillRecord.java new file mode 100644 index 0000000..f13fa14 --- /dev/null +++ b/src/main/java/com/mzl/flower/entity/wallet/WalletBillRecord.java @@ -0,0 +1,49 @@ +package com.mzl.flower.entity.wallet; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.mzl.flower.base.BaseAutoEntity; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.math.BigDecimal; + +@Data +@TableName("t_wallet_bill_record") +public class WalletBillRecord extends BaseAutoEntity { + /** + * packageName com.mzl.flower.entity.wallet + * + * @className WithdrawRecord + * @date 2024/10/21 + * @description 供应商提现记录申请表 + */ + + @ApiModelProperty(value = "供应商Id") + private Long supplierId; + + @ApiModelProperty(value = "钱包Id") + private Long walletId; + + @ApiModelProperty(value = "账单变动类型(提现,结算)") + private Integer type; + + @ApiModelProperty(value = "类型明细") + private Integer typeDetail; + + @ApiModelProperty(value = "转账Id") + private String transfer_id; + + @ApiModelProperty(value = "变动方式(增加、减少") + private Integer method; + + @ApiModelProperty(value = "原金额") + private BigDecimal originalAmount; + + @ApiModelProperty(value = "变动金额") + private BigDecimal changeAmount; + + @ApiModelProperty(value = "余额") + private BigDecimal balance; + + +} diff --git a/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java b/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java new file mode 100644 index 0000000..f2d72c0 --- /dev/null +++ b/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java @@ -0,0 +1,52 @@ +package com.mzl.flower.entity.wallet; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.mzl.flower.base.BaseAutoEntity; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.math.BigDecimal; +import java.time.LocalDateTime; + +@Data +@TableName("t_withdraw_record") +public class WithdrawRecord extends BaseAutoEntity { + /** + * packageName com.mzl.flower.entity.wallet + * + * @className WithdrawRecord + * @date 2024/10/21 + * @description 供应商提现记录申请表 + */ + + @ApiModelProperty(value = "供应商Id") + private Long supplierId; + + @ApiModelProperty(value = "钱包Id") + private Long walletId; + + @ApiModelProperty(value = "提现金额") + private BigDecimal amount; + + @ApiModelProperty(value = "单次可提现金额") + private BigDecimal onceWithdrawAmount; + + @ApiModelProperty(value = "提现状态(提现中、提现成功、提现失败)") + private Integer withdrawState; + + @ApiModelProperty(value = "提现方式(微信)") + private String method; + + @ApiModelProperty(value = "审核人") + private String approveBy; + + @ApiModelProperty(value = "审核时间") + private LocalDateTime approveTime; + + @ApiModelProperty(value = "审核状态(待审核、审核通过、审核不通过)") + private Integer approveState; + + @ApiModelProperty(value = "不通过原因") + private String rejectReason; + +} -- Gitblit v1.9.3