//------------------------------------------------------------------------------ // // 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 Borrower { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Borrower() { this.Loans = new HashSet(); this.LoanRequests = new HashSet(); } public int Id { get; set; } public string BorrowerNumber { get; set; } public int ProfileTypeId { get; set; } public int StatusId { get; set; } public virtual ProfileStatus ProfileStatus { get; set; } public virtual ProfileType ProfileType { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Loans { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection LoanRequests { get; set; } public virtual Profile Profile { get; set; } } }