package com.jwipc.sys.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class ExchangeRateApiDTO{

    /**
     * 当月初汇率类型
     */
    @JSONField(name = "KURST")
    private String exchangeType;

    /**
     * 原币币种
     */
    @JSONField(name = "FCURR")
    private String originalCurrency;

    /**
     * 日期
     */
    @JSONField(name = "GDATU")
    private String monthDate;

    /**
     * 本币币种
     */
    @JSONField(name = "TCURR")
    private String convertExchange;

    /**
     * 汇率
     */
    @JSONField(name = "UKURS")
    private BigDecimal exchange;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
