package com.m2pool.lease.dto.v2;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 余额提现返回对象
 * </p>
 *
 * @author yyb
 * @since 2025-09-10
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "店铺钱包提现记录返回信息",value = "PayWithdrawSellerRecordDto" )
public class PayWithdrawSellerRecordDto {

    private Long id;



    @ApiModelProperty(value = "用户充值地址")
    private String fromAddress;

    @ApiModelProperty(value = "提现地址(用户自定义)")
    private String toAddress;


    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;

    /**
     * 币种
     */
    @ApiModelProperty(value = "币种")
    private String symbol;

    /**
     * 链名称
     */
    @ApiModelProperty(value = "链名称")
    private String chain;

    /**
     * 充值时间
     */
    @ApiModelProperty(value = "提现时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "提现完成时间")
    private LocalDateTime updateTime;

    /**
     * 0 支付失败 1 支付成功 2 支付中
     */
    @ApiModelProperty(value = "记录状态  提现业务： 0 提现失败 1 提现成功 2 提现中 3 校验失败")
    private Integer status;

    /**
     * 交易hash
     */
    @ApiModelProperty(value = "交易hash")
    private String txHash;
}
