CEL_Payroll/Payroll.BO/Organogram/OrganogramSkillLevel.cs
2024-09-17 14:30:13 +06:00

127 lines
2.8 KiB
C#

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 OrganogramSkillLevel
[Serializable]
public class OrganogramSkillLevel : AuditTrailBase
{
#region Cache Store
private static Cache _cache = new Cache(typeof(OrganogramSkillLevel));
#endregion
#region Constructor
public OrganogramSkillLevel()
{
_organogramID = null;
_nodeResponsibilityID = null;
_nodeResponsibilityID = null;
_levelID = null;
_skillID = null;
}
#endregion
#region Property
#region OrganogramID : ID
private ID _organogramID;
public ID OrganogramID
{
get { return _organogramID; }
set
{
base.OnPropertyChange<ID>("organogramID", _organogramID, value);
_organogramID = value;
}
}
#endregion
#region nodeID : ID
private ID _nodeID;
public ID NodeID
{
get { return _nodeID; }
set
{
base.OnPropertyChange<ID>("nodeID", _nodeID, value);
_nodeID = value;
}
}
#endregion
#region nodeResponsibilityID : ID
private ID _nodeResponsibilityID;
public ID NodeResponsibilityID
{
get { return _nodeResponsibilityID; }
set
{
base.OnPropertyChange<ID>("nodeResponsibilityID", _nodeResponsibilityID, value);
_nodeResponsibilityID = value;
}
}
#endregion
#region levelID : ID
private ID _levelID;
public ID LevelID
{
get { return _levelID; }
set
{
base.OnPropertyChange<ID>("levelID", _levelID, value);
_levelID = value;
}
}
#endregion
#region skillID : ID
private ID _skillID;
public ID SkillID
{
get { return _skillID; }
set
{
base.OnPropertyChange<ID>("skillID", _skillID, value);
_skillID = value;
}
}
#endregion
#region Service Factory IOrganogramService : IOrganogramService
internal static IOrganogramService Service
{
get { return Services.Factory.CreateService<IOrganogramService>(typeof(IOrganogramService)); }
}
#endregion
#endregion
}
#endregion
}