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 LeaveParameterDetail [Serializable] public class LeaveParameterDetail :UpdateAuditTrail { #region Cache Store private static Cache _cache = new Cache(typeof(LeaveParameterDetail)); #endregion #region Constructor public LeaveParameterDetail() { _nLeaveParamId = 0; _nMaxDays = 0.0; _nMaxCF = 0.0; _nMaxEncash = 0.0; _nMaxEncashMonth = 0.0; _nYear = 0; } #endregion #region Properties #region LeaveParamId private long _nLeaveParamId; public long LeaveParamId { get { return _nLeaveParamId; } set { _nLeaveParamId = value; } } #endregion #region MaxDays private double _nMaxDays; public double MaxDays { get { return _nMaxDays; } set { _nMaxDays = value; } } #endregion #region MaxCF private double _nMaxCF; public double MaxCF { get { return _nMaxCF; } set { _nMaxCF = value; } } #endregion #region MaxEncash private double _nMaxEncash; public double MaxEncash { get { return _nMaxEncash; } set { _nMaxEncash = value; } } #endregion #region MaxEncashMonth private double _nMaxEncashMonth; public double MaxEncashMonth { get { return _nMaxEncashMonth; } set { _nMaxEncashMonth = value; } } #endregion #region Year private int _nYear; public int Year { get { return _nYear; } set { _nYear = value; } } #endregion #region eligibleMonth private int _eligibleMonth; public int EligibleMonth { get { return _eligibleMonth; } set { _eligibleMonth = value; } } #endregion #region eligibleMonth private int _monthpassed; public int MonthPassed { get { return _monthpassed; } set { _monthpassed = value; } } #endregion #endregion #region Functions #endregion } #endregion #region ILeaveParameter Service public interface ILeaveParameterDetailService { //LeaveParameterDetail Get(long nLeaveParamId, double nServiceEntitlement); //LeaveParameterDetails Get(long nLeaveParamId); //ID Save(LeaveParameterDetail oLeaveParameterDetail); //void Delete(long nLeaveParamId); } #endregion }