EchoTex_Payroll/HRM.BO/Basic/PayScaleDetail.cs

65 lines
1.5 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
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<IPayScaleDetailService>(typeof(IPayScaleDetailService)); }
//}
//#endregion
#endregion
}
#endregion
#region IPayScaleDetail Service
public interface IPayScaleDetailService
{
PayScaleDetail Get(int id);
List<PayScaleDetail> Get();
int Save(PayScaleDetail item);
void Delete(int id);
List<PayScaleDetail> GetByGradeID(int nGradeID, int payrollTypeID);
List<PayScaleDetail> Get(int nGradeID, int nAllowID);
List<PayScaleDetail> GetByPayScale(int payscaleID);
}
#endregion
}