CEL_Payroll/Payroll.BO/FundManagement/FndMngmentEmpRemarks.cs

95 lines
2.0 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 FndMngmentEmpRemarks : BasicBaseObject
{
#region Cache Store
private static Cache _cache = new Cache(typeof(FndMngmentEmpRemarks));
#endregion
#region Constructor
public FndMngmentEmpRemarks()
{
_nFndMngmentEmpID = null;
_nFndMngmentWFID = null;
_nRemarks = string.Empty;
_bIsHR = true;
_dRemarksDateTime = DateTime.Now;
}
#endregion
#region Properties
#region FndMngmentEmpID : ID
private ID _nFndMngmentEmpID;
public ID FndMngmentEmpID
{
get { return _nFndMngmentEmpID; }
set
{
_nFndMngmentEmpID = value;
_bIsHR = false;
}
}
#endregion
#region FndMngmentWFID : ID
private ID _nFndMngmentWFID;
public ID FndMngmentWFID
{
get { return _nFndMngmentWFID; }
set { _nFndMngmentWFID = value; }
}
#endregion
#region Remarks : String
private String _nRemarks;
public String Remarks
{
get { return _nRemarks; }
set { _nRemarks = value; }
}
#endregion
#region IsHR : bool
private bool _bIsHR;
public bool IsHR
{
get { return _bIsHR; }
set { _bIsHR = value; }
}
#endregion
#region RemarksDateTime : DateTime
private DateTime _dRemarksDateTime;
public DateTime RemarksDateTime
{
get { return _dRemarksDateTime; }
set { _dRemarksDateTime = value; }
}
#endregion
#endregion
public void Save()
{
FndMngmentWF.Service.Save(this);
}
}
}