package com.yd.csf.service.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class EditExchangeRateRequest {
    @Schema(description = "fortuneBizId", requiredMode = Schema.RequiredMode.REQUIRED)
    private String fortuneBizId;

    /**
     * 保单币种金额
     */
    @Schema(description = "保单币种金额", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal ruleAmount;

    /**
     * 保单币种
     */
    @Schema(description = "保单币种", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ruleCurrency;

    /**
     * 保单币种→港币汇率（入账检核汇率）
     */
    @Schema(description = "保单币种→港币汇率（入账检核汇率）", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal exchangeRate;

    /**
     * 原币种
     */
    @Schema(description = "原币种", requiredMode = Schema.RequiredMode.REQUIRED)
    private String originalCurrency;

    /**
     * 原币种金额
     */
    @Schema(description = "原币种金额", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal originalAmount;

    /**
     * 原币种→港币汇率
     */
    @Schema(description = "原币种→港币汇率", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal originalToHkdRate;

    /**
     * 发放币种
     */
    @Schema(description = "发放币种", requiredMode = Schema.RequiredMode.REQUIRED)
    private String payoutCurrency;

    /**
     * 发放币种金额
     */
    @Schema(description = "发放币种金额", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal payoutAmount;

    /**
     * 港币→发放币种汇率
     */
    @Schema(description = "港币→发放币种汇率", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal hkdToPayoutRate;

    /**
     * 港币金额
     */
    @Schema(description = "港币金额", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal hkdAmount;
}
