CEL_Payroll/Payroll.BO/FundManagement/FndMngmentEmp.cs

133 lines
3.3 KiB
C#
Raw 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.Caching;
using Ease.CoreV35.Model;
namespace Payroll.BO
{
[Serializable]
public class FndMngmentEmp : BasicBaseObject
{
#region Cache Store
private static Cache _cache = new Cache(typeof(FndMngmentEmp));
#endregion
#region Constructor
public FndMngmentEmp()
{
_nFndMngmentWFID = null;
_nEmployeeID = null;
_bEmailSent = false;
_bWebSent = true;
_oFndMngmentEmpRmrkses = null;
_dSentDate = DateTime.Now;
_sEmployeeNo = string.Empty;
_sEmployeeName = string.Empty;
_sDesigName = string.Empty;
}
#endregion
#region Properties
#region FndMngmentWFID : ID
private ID _nFndMngmentWFID;
public ID FndMngmentWFID
{
get { return _nFndMngmentWFID; }
set { _nFndMngmentWFID = value; }
}
#endregion
#region EmployeeID : ID
private ID _nEmployeeID;
public ID EmployeeID
{
get { return _nEmployeeID; }
set { _nEmployeeID = value; }
}
#endregion
#region EmployeeNo : string
private string _sEmployeeNo;
public string EmployeeNo
{
get { return _sEmployeeNo; }
set { _sEmployeeNo = value; }
}
#endregion
#region EmployeeName : string
private string _sEmployeeName;
public string EmployeeName
{
get { return _sEmployeeName; }
set { _sEmployeeName = value; }
}
#endregion
#region DesigName : string
private string _sDesigName;
public string DesigName
{
get { return _sDesigName; }
set { _sDesigName = value; }
}
#endregion
#region EmailSent : bool
private bool _bEmailSent;
public bool EmailSent
{
get { return _bEmailSent; }
set { _bEmailSent = value; }
}
#endregion
#region WebSent : bool
private bool _bWebSent;
public bool WebSent
{
get { return _bWebSent; }
set { _bWebSent = value; }
}
#endregion
#region SentDate : DateTime
private DateTime _dSentDate;
public DateTime SentDate
{
get { return _dSentDate; }
set { _dSentDate = value; }
}
#endregion
#region FndMngmentEmpRmrkses : ObjectsTemplate<FndMngmentEmpRemarks>
private ObjectsTemplate<FndMngmentEmpRemarks> _oFndMngmentEmpRmrkses;
public ObjectsTemplate<FndMngmentEmpRemarks> FndMngmentEmpRmrkses
{
get
{
if (this.ID != null && _oFndMngmentEmpRmrkses == null)
{
_oFndMngmentEmpRmrkses = FndMngmentWF.Service.GetFndMngmentEmpRemarks(this.ID);
}
return _oFndMngmentEmpRmrkses;
}
set { _oFndMngmentEmpRmrkses = value; }
}
#endregion
#endregion
}
}