package com.honey.honey.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.Instant;

/** Withdrawal (CRYPTO payout) row for admin user detail Withdrawals tab. */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserWithdrawalDto {
    private Long id;
    private BigDecimal usdAmount;
    private String cryptoName;     // ticker (e.g. USDT)
    private String amountToSend;   // coins amount
    private String txhash;          // transaction id
    private String status;
    private Integer paymentId;      // external payment id
    private Instant createdAt;
    private Instant resolvedAt;
}
