CEL_Payroll/Payroll.BO/Recruitement/IRNotification.cs

101 lines
2.5 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;
using Ease.CoreV35.Model;
using Ease.CoreV35.Caching;
using System.Data.Linq.Mapping;
namespace Payroll.BO
{
#region IRNotification
[Serializable]
public class IRNotification : UpdateAuditTrail
{
#region Cache Store
private static Cache _cache = new Cache(typeof(IRNotification));
#endregion
#region Constructor
public IRNotification()
{
_nPositionId = null;
_dNotificationDate = DateTime.MinValue;
_sDescription = string.Empty;
_nNotifiedBy = null;
}
#endregion
#region Properties
#region PositionID : ID
private ID _nPositionId;
public ID PositionID
{
get { return _nPositionId; }
set
{
base.OnPropertyChange<ID>("PositionID", _nPositionId, value);
_nPositionId = value;
}
}
#endregion
#region NotificationDate : DateTime
private DateTime _dNotificationDate;
public DateTime NotificationDate
{
get { return _dNotificationDate; }
set
{
base.OnPropertyChange<DateTime>("NotificationDate", _dNotificationDate, value);
_dNotificationDate = value;
}
}
#endregion
#region Description : string
private string _sDescription;
public string Description
{
get { return _sDescription; }
set
{
base.OnPropertyChange<string>("Description", _sDescription, value);
_sDescription = value;
}
}
#endregion
#region NotifiedBy : ID
private ID _nNotifiedBy;
public ID NotifiedBy
{
get { return _nNotifiedBy; }
set
{
base.OnPropertyChange<ID>("NotifiedBy", _nNotifiedBy, value);
_nNotifiedBy = value;
}
}
#endregion
#endregion
#region Service Factory IInternalRecruitmentService : IInternalRecruitmentService
internal static IInternalRecruitmentService Service
{
get { return Services.Factory.CreateService<IInternalRecruitmentService>(typeof(IInternalRecruitmentService)); }
}
#endregion
}
#endregion
}