95 lines
2.4 KiB
C#
95 lines
2.4 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using Ease.CoreV35;
|
|||
|
using HRM.BO;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region PMSException
|
|||
|
|
|||
|
[Serializable]
|
|||
|
public class PMSException : BasicBaseObject
|
|||
|
{
|
|||
|
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public PMSException()
|
|||
|
{
|
|||
|
PMPYearID = 0;
|
|||
|
EmployeeID = 0;
|
|||
|
TireID = 0;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
|
|||
|
public int PMPYearID { get; set; }
|
|||
|
|
|||
|
public int EmployeeID { get; set; }
|
|||
|
|
|||
|
public int TireID { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
//#region Functions
|
|||
|
//public static PMSException Get(ID nPMPYearID,ID nEmpID)
|
|||
|
//{
|
|||
|
// PMSException oPMSException = null;
|
|||
|
// #region Cache Header
|
|||
|
// oPMSException = (PMSException)_cache["Get", nPMPYearID,nEmpID];
|
|||
|
// if (oPMSException != null)
|
|||
|
// return oPMSException;
|
|||
|
// #endregion
|
|||
|
|
|||
|
// oPMSException = PMSException.Service.Get(nPMPYearID,nEmpID);
|
|||
|
|
|||
|
// #region Cache Footer
|
|||
|
// _cache.Add(oPMSException, "Get", nPMPYearID, nEmpID);
|
|||
|
// #endregion
|
|||
|
// return oPMSException;
|
|||
|
//}
|
|||
|
|
|||
|
//public static ObjectsTemplate<PMSException> Get(ID nPMPYearID)
|
|||
|
//{
|
|||
|
// #region Cache Header
|
|||
|
// ObjectsTemplate<PMSException> PMSExceptions = _cache["Get", nPMPYearID] as ObjectsTemplate<PMSException>;
|
|||
|
// if (PMSExceptions != null)
|
|||
|
// return PMSExceptions;
|
|||
|
// #endregion
|
|||
|
// try
|
|||
|
// {
|
|||
|
// PMSExceptions = Service.Get(nPMPYearID);
|
|||
|
// }
|
|||
|
// catch (ServiceException e)
|
|||
|
// {
|
|||
|
// throw new Exception(e.Message, e);
|
|||
|
// }
|
|||
|
// #region Cache Footer
|
|||
|
// _cache.Add(PMSExceptions, "Get", nPMPYearID);
|
|||
|
// #endregion
|
|||
|
// return PMSExceptions;
|
|||
|
//}
|
|||
|
|
|||
|
//public static void Save(ObjectsTemplate<PMSException> _PMSExceptions)
|
|||
|
//{
|
|||
|
// foreach (PMSException omap in _PMSExceptions)
|
|||
|
// {
|
|||
|
// omap.SetAuditTrailProperties();
|
|||
|
// }
|
|||
|
|
|||
|
// PMSException.Service.Save(_PMSExceptions);
|
|||
|
//}
|
|||
|
|
|||
|
//public static void Delete(ID id)
|
|||
|
//{
|
|||
|
// PMSException.Service.Delete(id);
|
|||
|
//}
|
|||
|
//#endregion
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
}
|