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("PositionID", _nPositionId, value); _nPositionId = value; } } #endregion #region NotificationDate : DateTime private DateTime _dNotificationDate; public DateTime NotificationDate { get { return _dNotificationDate; } set { base.OnPropertyChange("NotificationDate", _dNotificationDate, value); _dNotificationDate = value; } } #endregion #region Description : string private string _sDescription; public string Description { get { return _sDescription; } set { base.OnPropertyChange("Description", _sDescription, value); _sDescription = value; } } #endregion #region NotifiedBy : ID private ID _nNotifiedBy; public ID NotifiedBy { get { return _nNotifiedBy; } set { base.OnPropertyChange("NotifiedBy", _nNotifiedBy, value); _nNotifiedBy = value; } } #endregion #endregion #region Service Factory IInternalRecruitmentService : IInternalRecruitmentService internal static IInternalRecruitmentService Service { get { return Services.Factory.CreateService(typeof(IInternalRecruitmentService)); } } #endregion } #endregion }