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 RabbitmqPayRechargeReturnMessage {
    /**
     * 消息ID
     */
    @LedgerLogParam(value = "消息ID")
    private String queue_id;


    /**
     * 充值地址
     */
    @LedgerLogTag(value = "充值地址")
    private String address;

    /**
     * 来源地址（用户自己的钱包）
     */
    @LedgerLogParam(value = "地址")
    private String fromAddress;

    /**
     * 充值是否成功
     */
    @LedgerLogParam(value = "充值结果")
    private Integer status;

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

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

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

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

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

}
