//------------------------------------------------------------------------------
//
// 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 LoanRepayment
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public LoanRepayment()
{
this.Transactions = new HashSet();
}
public int Id { get; set; }
public int LoanId { get; set; }
public double PaymentAmount { get; set; }
public System.DateTime PaymentDate { get; set; }
public string PaymentMethod { get; set; }
public Nullable LoanScheduleId { get; set; }
public int LoanRepaymentStatusId { get; set; }
public virtual LoanRepaymentStatus LoanRepaymentStatus { get; set; }
public virtual LoanSchedule LoanSchedule { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Transactions { get; set; }
public virtual Loan Loan { get; set; }
}
}