package com.m2pool.lease.mq.message;

import com.m2pool.lease.annotation.LedgerLogParam;
import com.m2pool.lease.annotation.LedgerLogTag;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Description rabbitmq 余额提现 消费者
 * @Date 2025/7/31 10:42
 * @Author yyb
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RabbitmqPayWithdrawReturnMessage {
    /**
     * 消息ID
     */
    @LedgerLogParam(value = "消息ID")
    private String queue_id;

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

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


    /**
     * 提现结果
     */
    @LedgerLogParam(value = "提现结果")
    private Integer status;


    /**
     * 提现金额
     */
    @LedgerLogParam(value = "提现金额")
    private BigDecimal amount;

    /**
     * 手续费
     */
    @LedgerLogParam(value = "手续费")
    private BigDecimal fee;


    /**
     * 交易hash
     */
    @LedgerLogParam(value = "交易hash")
    private String tx_hash;

    /**
     * 块高
     */
    private Long  block_height;

    /**
     * 来源地址
     */
    @LedgerLogTag(value = "来源地址")
    private String from_address;

    ///**
    // * 收款地址
    // */
    //private String to_address;
}
