package com.m2pool.lease.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

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

/**
 * <p>
 * 充值记录表
 * </p>
 *
 * @author yyb
 * @since 2025-09-10
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "余额充值返回对象",value = "PayRechargeMessageDto" )
public class PayRechargeMessageDto  {



    private Long id;


    /**
     * 充值地址
     */
    @ApiModelProperty(value = "充值地址（官方自动生成绑定地址）")
    private String address;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "充值金额")
    private BigDecimal amount;


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

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

    /**
     * 充值时间
     */
    @ApiModelProperty(value = "充值到账时间）")
    private LocalDateTime createTime;


    /**
     * 0 充值失败 1 充值成功 2 充值中
     */
    @ApiModelProperty(value = "充值状态  0 充值失败 1 充值成功 2 充值中 3 校验失败")
    private Integer status;

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


}
