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; using System.Data; namespace Payroll.BO { #region OrganogramResponsibility [Serializable] public class OrganogramResponsibility : AuditTrailBase { #region Cache Store private static Cache _cache = new Cache(typeof(OrganogramResponsibility)); #endregion #region Constructor public OrganogramResponsibility() { _organogramID = null; _nodeID = null; _responsibility = string.Empty; _isPrimary = false; } #endregion #region Property #region OrganogramID : ID private ID _organogramID; public ID OrganogramID { get { return _organogramID; } set { base.OnPropertyChange("organogramID", _organogramID, value); _organogramID = value; } } #endregion #region nodeID : ID private ID _nodeID; public ID NodeID { get { return _nodeID; } set { base.OnPropertyChange("nodeID", _nodeID, value); _nodeID = value; } } #endregion #region responsibility : string private string _responsibility; public string Responsibility { get { return _responsibility; } set { base.OnPropertyChange("responsibility", _responsibility, value); _responsibility = value; } } #endregion #region isPrimary : bool private bool _isPrimary; public bool IsPrimary { get { return _isPrimary; } set { base.OnPropertyChange("isPrimary", _isPrimary, value); _isPrimary = value; } } #endregion #region Service Factory IOrganogramService : IOrganogramService internal static IOrganogramService Service { get { return Services.Factory.CreateService(typeof(IOrganogramService)); } } #endregion #endregion } #endregion }