140 lines
3.8 KiB
C#
140 lines
3.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Data;
|
|
using Ease.Core;
|
|
using Ease.CoreV35;
|
|
using Ease.Core.Utility;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
#region Class LoanSchedule
|
|
[Serializable]
|
|
public class FMLoanSchedule : AuditTrailBase
|
|
{
|
|
#region Constructor
|
|
public FMLoanSchedule()
|
|
{
|
|
ActivityID = 0;
|
|
CustomerID = 0;
|
|
EffectiveBalance = 0.0;
|
|
InstallmentAmount = 0.0;
|
|
InstallmentInterest = 0.0;
|
|
InstallmentPrincipal = 0.0;
|
|
LoanCategoryID = 0;
|
|
LoanID = 0;
|
|
PayDate = DateTime.MinValue;
|
|
ScheduledPayDate = DateTime.MinValue;
|
|
SerialNo = 0;
|
|
FundTypeID = 0;
|
|
}
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
#region Property ActivityID : ID
|
|
public int ActivityID { get; set; }
|
|
|
|
#endregion Property ActivityID : ID
|
|
|
|
#region Property CustomerID : ID
|
|
public int CustomerID { get; set; }
|
|
|
|
#endregion Property CustomerID : ID
|
|
|
|
#region Property LoanCustomer : LoanCustomer
|
|
|
|
public FMLoanCustomer LoanCustomer { get; set; }
|
|
|
|
#endregion Property LoanCustomer : LoanCustomer
|
|
|
|
#region Property EffectiveBalance : double
|
|
public double EffectiveBalance { get; set; }
|
|
|
|
#endregion Property EffectiveBalance : double
|
|
|
|
#region Property ClosingBalance : double
|
|
|
|
#endregion Property ClosingBalance : double
|
|
|
|
#region Property InstallmentAmount : double
|
|
public double InstallmentAmount { get; set; }
|
|
|
|
#endregion Property InstallmentAmount : double
|
|
|
|
#region Property InstallmentInterest : double
|
|
public double InstallmentInterest { get; set; }
|
|
|
|
#endregion Property InstallmentInterest : double
|
|
|
|
#region Property InstallmentPrincipal : double
|
|
public double InstallmentPrincipal { get; set; }
|
|
|
|
#endregion Property InstallmentPrincipal : double
|
|
|
|
#region Property LoanCategory : LoanCategory
|
|
public FMLoanCategory LoanCategory { get; set; }
|
|
|
|
#endregion Property LoanCategory : LoanCategory
|
|
|
|
#region Property LoanCategoryID : ID
|
|
public int LoanCategoryID { get; set; }
|
|
|
|
#endregion Property LoanCategoryID : ID
|
|
|
|
#region Property LoanID : ID
|
|
public int LoanID { get; set; }
|
|
|
|
#endregion Property LoanID : ID
|
|
|
|
#region Property Loan : Loan
|
|
public FMLoan Loan { get; set; }
|
|
|
|
#endregion Property Loan : Loan
|
|
|
|
#region Property PayDate : DateTime
|
|
public DateTime? PayDate { get; set; }
|
|
|
|
public double OpeningBalance { get; set; }
|
|
public double ClosingBalance { get; set; }
|
|
#endregion Property PayDate : DateTime
|
|
|
|
#region Property ScheduledPayDate : DateTime
|
|
public DateTime ScheduledPayDate { get; set; }
|
|
|
|
#endregion Property ScheduledPayDate : DateTime
|
|
|
|
#region Property SerialNo : int
|
|
public int SerialNo { get; set; }
|
|
|
|
#endregion Property SerialNo : int
|
|
|
|
#region Property FundTypeID : ID
|
|
public int FundTypeID { get; set; }
|
|
|
|
#endregion Property FundTypeID : ID
|
|
|
|
#region Property IsCompleted : Boolean
|
|
public bool IsCompleted { get; set; }
|
|
|
|
#endregion Property IsCompleted : Boolean
|
|
|
|
#region Property IsSettle : int
|
|
public int IsSettle { get; set; }
|
|
|
|
#endregion Property IsSettle : int
|
|
#endregion
|
|
|
|
}
|
|
#endregion
|
|
|
|
public interface IFMLoanScheduleService
|
|
{
|
|
public List<FMLoanSchedule> CreateSchedule(FMLoan data);
|
|
void Save(FMLoanSchedule loanSchedule);
|
|
FMLoanSchedule Get(int loanScheduleID);
|
|
List<FMLoanSchedule> GetByLoanID(int loanScheduleID);
|
|
void UpdateSchedules(List<FMLoanSchedule> oLoanSchedules);
|
|
}
|
|
}
|