CEL_Payroll/Payroll.BO/Organogram/OrganogramPosition.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;
using Ease.CoreV35.Model;
using Ease.CoreV35.Caching;
using System.Data.Linq.Mapping;
using System.Data;
namespace Payroll.BO
{
#region OrganogramPosition
[Serializable]
public class OrganogramPosition : AuditTrailBase
{
#region Cache Store
private static Cache _cache = new Cache(typeof(OrganogramPosition));
#endregion
#region Constructor
public OrganogramPosition()
{
_organogramID = null;
_nodeID = null;
_positionTypeID = 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 positionTypeID : ID
private ID _positionTypeID;
public ID PositionTypeID
{
get { return _positionTypeID; }
set
{
base.OnPropertyChange<ID>("positionTypeID", _positionTypeID, value);
_positionTypeID = value;
}
}
#endregion
#region Service Factory IOrganogramService : IOrganogramService
internal static IOrganogramService Service
{
get { return Services.Factory.CreateService<IOrganogramService>(typeof(IOrganogramService)); }
}
#endregion
#endregion
}
#endregion
}