package com.ruoyi.dk.dto.app.resp;

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

import java.math.BigDecimal;

@Data
@Schema(description = "计算利息返回数据")
public class CalLoanResp {

    @Schema(description = "贷款总额")
    private BigDecimal totalLoanMoney; //
    @Schema(description = "货币单位")
    private String defaultCoinUnit;
    @Schema(description = "还款月份")
    private int totalMonth; //
    @Schema(description = "贷款年利率")
    private double loanRateYear; //
    @Schema(description = "贷款日利率")
    private double loanRateDay; //
    @Schema(description = "贷款日利率")
    private double loanRateMonth; //

    @Schema(description = "总利息数")
    private BigDecimal totalInterest; //
    @Schema(description = "还款总额")
    private BigDecimal totalRepayment; //
    @Schema(description = "首月还款额")
    private BigDecimal firstRepayment; //
    @Schema(description = "月均还款额")
    private BigDecimal avgRepayment; //
}
