//------------------------------------------------------------------------------
//
// 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 LoanOffer
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public LoanOffer()
{
this.Loans = new HashSet();
this.LoanRequestOffers = new HashSet();
}
public int Id { get; set; }
public int LenderId { get; set; }
public double Amount { get; set; }
public double Balance { get; set; }
public double InterestRate { get; set; }
public int Term { get; set; }
public int TermTypeId { get; set; }
public bool IsActive { get; set; }
public System.DateTime DateCreated { get; set; }
public Nullable ExpiryDate { get; set; }
public bool IsDeleted { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Loans { get; set; }
public virtual TermType TermType { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection LoanRequestOffers { get; set; }
public virtual Lender Lender { get; set; }
}
}