using FindAndDrive.Domain.Models.Entities; using FindAndDrive.Domain.Models.Enums; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FindAndDrive.Domain.Models.DTO.Response { public class ApplicantResponse { public ApplicantResponseReturn Applicant { get; set; } public ApplicantCreditResponse ApplicantCredit { get; set; } public ApplicantFinanceResponse ApplicantFinance { get; set; } public ApplicantFraudAlertResponse ApplicantFraudAlert { get; set; } public ApplicantPredictionResponse ApplicantPrediction { get; set; } } public class ApplicantResponseReturn { public string Title { get; set; } = string.Empty; public string FirstName { get; set; } = string.Empty; public string LastName { get; set; } = string.Empty; public string IdNumber { get; set; } = string.Empty; public string MobileNumber { get; set; } = string.Empty; public string EmailAddress { get; set; } = string.Empty; public string Gender { get; set; } public DateTime? DateOfBirth { get; set; } public string MaritalStatus { get; set; } public string SpouseName { get; set; } = string.Empty; public string AddressLine1 { get; set; } = string.Empty; public string AddressLine2 { get; set; } = string.Empty; public string Suburb { get; set; } = string.Empty; public string City { get; set; } = string.Empty; public string PostalCode { get; set; } = string.Empty; public string Province { get; set; } public string ResidentialStatus { get; set; } = string.Empty; public DateTime? AddressDate { get; set; } public Guid ClientId { get; set; } } public class ApplicantAuditLogResponse { public string AuditLog { get; set; } public int TransUnionId { get; set; } public int ExperianId { get; set; } public Guid FindAndDriveId { get; set; } public DateTime TimeStamp { get; set; } } public class ApplicantCreditResponse { public string ReasonVerbiage { get; set; } } public class ApplicantFinanceResponse { public decimal GrossIncome { get; set; } public decimal NetIncome { get; set; } public decimal LivingExpenses { get; set; } public decimal Deposit { get; set; } public decimal ValidatedGross { get; set; } public decimal ValidatedNet { get; set; } public decimal BureauExpenses { get; set; } public decimal VehicleFinanceCalculatedDisposableIncome { get; set; } } public class ApplicantFraudAlertResponse { public decimal IncomeDisparityPercentage { get; set; } } public class ApplicantPredictionResponse { public string ChancesOfApproval { get; set; } public decimal EstimatedApprovalAmount { get; set; } public decimal EstimatedFinanceSpend { get; set; } public decimal EstimatedInsuranceSpend { get; set; } public string ImprovementSuggestion { get; set; } public string ImprovementSuggestionFull { get; set; } } }