//------------------------------------------------------------------------------
//
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//
//------------------------------------------------------------------------------
namespace BuddyFinance.Model
{
using System;
using System.Collections.Generic;
public partial class Profile
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Profile()
{
this.CashDeposits = new HashSet();
this.CashWithdrawals = new HashSet();
this.ManualDeductions = new HashSet();
this.PreLoanRequests = new HashSet();
this.ProfileCreditRatingScores = new HashSet();
this.ProfileCreditRatingScores1 = new HashSet();
this.ProfileDocuments = new HashSet();
this.Transactions = new HashSet();
this.Users = new HashSet();
this.ProfileAddresses = new HashSet();
}
public int Id { get; set; }
public string ProfileNumber { get; set; }
public string Title { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string EmailAddress { get; set; }
public string ContactNumber { get; set; }
public Nullable DateOfBirth { get; set; }
public Nullable GenderId { get; set; }
public Nullable CountryOfBirthId { get; set; }
public Nullable EthnicityId { get; set; }
public Nullable IdentificationTypeId { get; set; }
public string IdentificationNumber { get; set; }
public double AvailableFunds { get; set; }
public Nullable CashDeposit { get; set; }
public Nullable CashWithdrawal { get; set; }
public Nullable TaxRegistered { get; set; }
public Nullable SourceOfIncomeId { get; set; }
public string OtherSourceOfIncome { get; set; }
public Nullable EmploymentStatusId { get; set; }
public int StatusId { get; set; }
public Nullable BillingDate { get; set; }
public Nullable LastBillDate { get; set; }
public Nullable LendServiceAccount { get; set; }
public Nullable BorrowServiceAccount { get; set; }
public virtual BankingDetail BankingDetail { get; set; }
public virtual Borrower Borrower { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection CashDeposits { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection CashWithdrawals { get; set; }
public virtual Country Country { get; set; }
public virtual EmploymentDetail EmploymentDetail { get; set; }
public virtual EmploymentStatus EmploymentStatus { get; set; }
public virtual Ethnicity Ethnicity { get; set; }
public virtual FicaCompliance FicaCompliance { get; set; }
public virtual Gender Gender { get; set; }
public virtual IdentificationType IdentificationType { get; set; }
public virtual Lender Lender { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ManualDeductions { get; set; }
public virtual NextOfKin NextOfKin { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection PreLoanRequests { get; set; }
public virtual ProfileStatus ProfileStatus { get; set; }
public virtual SourceOfIncome SourceOfIncome { get; set; }
public virtual ProfileApproval ProfileApproval { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileCreditRatingScores { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileCreditRatingScores1 { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileDocuments { get; set; }
public virtual ProfileSuspension ProfileSuspension { get; set; }
public virtual TaxInformation TaxInformation { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Transactions { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Users { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ProfileAddresses { get; set; }
}
}