using System; using System.Collections.Generic; namespace HRM.BO { #region PayScaleDetail public class PayScaleDetail : AuditTrailBase { #region Constructor public PayScaleDetail() { PayscaleID = 0; StepNo = 0; Amount = 0; StepAmount = 0; StepIncrement = 0; GradeID = 0; AllowanceID = 0; } #endregion #region Properties public int PayscaleID { get; set; } public int StepNo { get; set; } public double Amount { get; set; } public double StepAmount { get; set; } public double StepIncrement { get; set; } public int GradeID { get; set; } public int AllowanceID { get; set; } //#region Service Factory IPayScaleDetailService : IPayScaleDetailService //internal static IPayScaleDetailService Service //{ // get { return Services.Factory.CreateService(typeof(IPayScaleDetailService)); } //} //#endregion #endregion } #endregion #region IPayScaleDetail Service public interface IPayScaleDetailService { PayScaleDetail Get(int id); List Get(); int Save(PayScaleDetail item); void Delete(int id); List GetByGradeID(int nGradeID, int payrollTypeID); List Get(int nGradeID, int nAllowID); List GetByPayScale(int payscaleID); } #endregion }