package com.yd.csf.feign.dto.salary;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CalculateTotalAmountDTO {

    /**
     * 汇款币种
     */
    private String currency;

    /**
     * 发放金额
     */
    @NotNull(message = "发放金额不能为空")
    private BigDecimal amount;

    /**
     * 汇率
     */
    @NotNull(message = "汇率不能为空")
    private BigDecimal exchangeRate;
}
