package com.m2pool.lease.dto;

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 = "RecentlyTransactionDto" )
public class RecentlyTransactionDto {



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

    /**
     * 交易类型
     */
    @ApiModelProperty(value = "交易类型 0 支付 1 充值 2 提现")
    private Integer type;

    /**
     * 交易完成时间
     */
    @ApiModelProperty(value = "交易完成时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "交易状态 0 失败 1 成功 2 充值/提现/支付中 3校验失败")
    private Integer status;
}
