63 lines
1.6 KiB
C#
63 lines
1.6 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region PayScale
|
|||
|
|
|||
|
public class PayScale : AuditTrailBase
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public PayScale()
|
|||
|
{
|
|||
|
GradeID = 0;
|
|||
|
GradeObj = null;
|
|||
|
ItemID = 0;
|
|||
|
InitialAmount = 0;
|
|||
|
IncPercentage = 0;
|
|||
|
NoOfStep = 0;
|
|||
|
EffectDate = DateTime.MinValue;
|
|||
|
ItemType = EnumPayScaleItemType.None;
|
|||
|
Description = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
|
|||
|
public int GradeID { get; set; }
|
|||
|
public Grade GradeObj { get; set; }
|
|||
|
public int ItemID { get; set; }
|
|||
|
public double InitialAmount { get; set; }
|
|||
|
public double IncPercentage { get; set; }
|
|||
|
public int NoOfStep { get; set; }
|
|||
|
public DateTime EffectDate { get; set; }
|
|||
|
public EnumPayScaleItemType ItemType { get; set; }
|
|||
|
public string Description { get; set; }
|
|||
|
public List<PayScaleDetail> PayscaleDetails { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region IPayScale Service
|
|||
|
|
|||
|
public interface IPayScaleService
|
|||
|
{
|
|||
|
PayScale Get(int id);
|
|||
|
List<PayScale> Get();
|
|||
|
int Save(PayScale item);
|
|||
|
void Delete(int id);
|
|||
|
void DeleteByGradeID(int id);
|
|||
|
PayScale Get(int nGradeID, int nAllowID, DateTime nextPayProcessDate);
|
|||
|
List<PayScale> GetByAllowance(int allowID);
|
|||
|
List<PayScale> GetLatest(int payrollTypeID);
|
|||
|
PayScale GetByGrade(int nID);
|
|||
|
DateTime? GetMaxEffectDate(int payrollTypeID);
|
|||
|
void Save(List<PayScale> _NewPayscale);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|