package com.avitam.bankloanapplication.model.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;

@Getter
@Setter
@NoArgsConstructor
@Document("LoanLimit")
public class LoanLimit extends BaseEntity {
    private String description;
    private BigDecimal loanLimitAmount;
    private BigDecimal incomeLimit;
    private String customerId;
    private BigDecimal emi;
    private BigDecimal interestRate;
    private Integer tenure;
}
