89 lines
2.0 KiB
C#
89 lines
2.0 KiB
C#
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 Doc
|
|
|
|
[Serializable]
|
|
public class LoanDoc : UpdateAuditTrail
|
|
{
|
|
#region Cache Store
|
|
|
|
private static Cache _cache = new Cache(typeof(LoanDoc));
|
|
|
|
#endregion
|
|
|
|
#region Constructor
|
|
public LoanDoc()
|
|
{
|
|
_hrDocID = null;
|
|
_loanID = null;
|
|
_loanParameterID = null;
|
|
}
|
|
#endregion
|
|
|
|
#region Property
|
|
#region HRDocID : ID
|
|
private ID _hrDocID;
|
|
public ID HRDocID
|
|
{
|
|
get { return _hrDocID; }
|
|
set
|
|
{
|
|
base.OnPropertyChange<ID>("hrDocID", _hrDocID, value);
|
|
_hrDocID = value;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#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
|
|
#endregion
|
|
|
|
#region Service Factory ILoanParameterService : ILoanParameterService
|
|
|
|
internal static ILoanParameterService Service
|
|
{
|
|
get { return Services.Factory.CreateService<ILoanParameterService>(typeof(ILoanParameterService)); }
|
|
}
|
|
#endregion
|
|
|
|
#region Functions
|
|
|
|
#endregion
|
|
}
|
|
#endregion
|
|
}
|