using BuddyFinance.Integration.Models.LoanOffers; using BuddyFinance.Integration.Models.LoanRequests; using System; using System.Collections.Generic; namespace BuddyFinance.Integration.Models.Profiles { public class Profile { public Profile() { } public int ProfileId { get; set; } public string ProfileId_ { get; set; } public string ProfileNumber { get; set; } public bool LendServiceAccount { get; set; } public bool BorrowServiceAccount { get; set; } public Lender Lender { get; set; } public Borrower Borrower { get; set; } public string Title { get; set; } public string Name { get; set; } public string Surname { get; set; } public string FullNames { get; set; } public string EmailAddress { get; set; } public string ContactNumber { get; set; } public DateTime? DateOfBirth { get; set; } public int? GenderId { get; set; } public Gender Gender { get; set; } public int? CountryOfBirthId { get; set; } public Country CountryOfBirth { get; set; } public int? EthnicityId { get; set; } public Ethnicity Ethnicity { get; set; } public int? IdentificationTypeId { get; set; } public IdentificationType IdentificationType { get; set; } public string IdentificationNumber { get; set; } public decimal AvailableFunds { get; set; } public bool? TaxRegistered { get; set; } public TaxInformation TaxInformation { get; set; } public int? SourceOfIncomeId { get; set; } public SourceOfIncome SourceOfIncome { get; set; } public string OtherSourceOfIncome { get; set; } public FicaCompliance FicaCompliance { get; set; } public BankingDetail BankingDetails { get; set; } //public int? EmploymentStatuId { get; set; } //public EmploymentStatus EmploymentStatus { get; set; } public EmploymentDetail EmploymentDetail { get; set; } public int StatusId { get; set; } public Status ProfileStatus { get; set; } public List
Addresses { get; set; } public List Documents { get; set; } public NextOfKin NextOfKin { get; set; } public string Otp { get; set; } public double CashDeposit { get; set; } public double CashWithdrawal { get; set; } public Approval Approval { get; set; } public Suspension Suspension { get; set; } public bool HasExistingScore { get; set; } } public class Lender { public int Id { get; set; } public string LenderNumber { get; set; } public int ProfileTypeId { get; set; } public int StatusId { get; set; } public Status ProfileStatus { get; set; } public ProfileType ProfileType { get; set; } public List LoanOffers { get; set; } } public class Borrower { public int Id { get; set; } public string BorrowerNumber { get; set; } public int ProfileTypeId { get; set; } public int StatusId { get; set; } public Status ProfileStatus { get; set; } public ProfileType ProfileType { get; set; } public List LoanRequests { get; set; } } }