CEL_Payroll/Payroll.BO/Loan/LoanGrades.cs

90 lines
2.0 KiB
C#
Raw Permalink Normal View History

2024-09-17 14:30:13 +06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ease.CoreV35;
using Ease.CoreV35.Model;
using Ease.CoreV35.Caching;
using System.Data.Linq.Mapping;
namespace Payroll.BO
{
#region Loan Grades
[Serializable]
public class LoanGrades :UpdateAuditTrail
{
#region Cache Store
private static Cache _cache = new Cache(typeof(LoanGrades));
#endregion
#region Constructor
public LoanGrades()
{
_loanID = null;
_loanParameterID = null;
_gradeID = null;
}
#endregion
#region Properties
#region LoanID : ID
private ID _loanID;
public ID LoanID
{
get { return _loanID; }
set
{
base.OnPropertyChange<ID>("loanID", _loanID, value);
_loanID = value;
}
}
#endregion
#region LoanParameterID : ID
private ID _loanParameterID;
public ID LoanParameterID
{
get { return _loanParameterID; }
set
{
base.OnPropertyChange<ID>("loanParameterID", _loanParameterID, value);
_loanParameterID = value;
}
}
#endregion
#region GradeID
private ID _gradeID;
public ID GradeID
{
get { return _gradeID; }
set
{
base.OnPropertyChange<ID>("gradeID", _gradeID, value);
_gradeID = value;
}
}
#endregion
#endregion
#region Service Factory ILoanParameterService : ILoanParameterService
internal static ILoanParameterService Service
{
get { return Services.Factory.CreateService<ILoanParameterService>(typeof(ILoanParameterService)); }
}
#endregion
#region Functions
#endregion
}
#endregion
}