From c144a01a7fff4e9bd169eb9d03b6ea58bc8bafb6 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 22 十月 2024 14:40:40 +0800 Subject: [PATCH] 1.钱包 --- src/main/java/com/mzl/flower/entity/wallet/WithdrawRecordDO.java | 60 +++++++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 43 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java b/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecordDO.java similarity index 63% rename from src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java rename to src/main/java/com/mzl/flower/entity/wallet/WithdrawRecordDO.java index f2d72c0..a84fa99 100644 --- a/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecord.java +++ b/src/main/java/com/mzl/flower/entity/wallet/WithdrawRecordDO.java @@ -1,52 +1,78 @@ package com.mzl.flower.entity.wallet; +import java.math.BigDecimal; import com.baomidou.mybatisplus.annotation.TableName; -import com.mzl.flower.base.BaseAutoEntity; +import java.time.LocalDateTime; +import com.mzl.flower.base.BaseEntity; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; -import java.math.BigDecimal; -import java.time.LocalDateTime; - +/** + * @author @TaoJie + * @since 2024-10-22 + */ @Data +@EqualsAndHashCode(callSuper = true) +@Accessors(chain = true) @TableName("t_withdraw_record") -public class WithdrawRecord extends BaseAutoEntity { - /** - * packageName com.mzl.flower.entity.wallet - * - * @className WithdrawRecord - * @date 2024/10/21 - * @description 供应商提现记录申请表 - */ +public class WithdrawRecordDO extends BaseEntity { + + /** + * 供应商ID + */ @ApiModelProperty(value = "供应商Id") private Long supplierId; + /** + * 提现金额 + */ @ApiModelProperty(value = "钱包Id") - private Long walletId; - - @ApiModelProperty(value = "提现金额") private BigDecimal amount; - @ApiModelProperty(value = "单次可提现金额") + /** + * 单次可提现金额 + */ + @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; + private Integer approverState; + /** + * 不通过原因 + */ @ApiModelProperty(value = "不通过原因") private String rejectReason; + } -- Gitblit v1.9.3