//------------------------------------------------------------------------------
//
// 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 Lender
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Lender()
{
this.Loans = new HashSet();
this.LoanOffers = new HashSet();
}
public int Id { get; set; }
public string LenderNumber { 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 LoanOffers { get; set; }
public virtual Profile Profile { get; set; }
}
}