using FindAndDrive.Domain.Models.Enums; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FindAndDrive.Domain.Models.Entities { public class ApplicantFinance { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid ApplicantFinanceId { get; set; } public Guid ApplicantId { get; set; } public decimal GrossIncome { get; set; } public decimal NetIncome { get; set; } public decimal LivingExpenses { get; set; } public decimal MonthlyFinancingAmount { get; set; } public decimal TotalFinancingAmount { get; set; } public decimal Deposit { get; set; } public decimal CalculatedGross { get; set; } public decimal CalculatedNet { get; set; } public PredictorConfidence PredictorConfidence { get; set; } public decimal BureauExpenses { get; set; } public decimal CalculatedLivingExpenses { get; set; } public decimal CalculatedTotalExpenses { get; set; } public decimal DisposableIncome { get; set; } //Relationships with other entities public virtual Applicant Applicant { get; set; } } }