package com.ff.game.api.xk.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@NoArgsConstructor
@Data
public class XKExchangeMoneyResponseDTO {

    private int code;
    private String msg;
    private DataBean data;

    @NoArgsConstructor
    @Data
    public static class DataBean {
        /**
         * 交易序号，额度转移纪录唯一值, 长度上限 50
         */
        private  String  transactionId;
        /**
         * 转账前金额(游戏币)
         */
        private BigDecimal coinBefore;
        /**
         * 转账后金额(游戏币)
         */
        private BigDecimal coinAfter;
        /**
         * 转账前金额(指定货币)
         */
        private BigDecimal currencyBefore;
        /**
         * 转账后金额(指定货币)
         */
        private BigDecimal currencyAfter;
        /**
         * 状态：
         * 1: 成功
         * 2: 失败
         */
        private Integer status;
    }
}
