55 lines
1.9 KiB
C#
55 lines
1.9 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Data;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region SettlmentAdvice
|
|||
|
public class DailyAttendanceAllowance : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public DailyAttendanceAllowance()
|
|||
|
{
|
|||
|
AttnDate = DateTime.MinValue;
|
|||
|
ManualEdited = false;
|
|||
|
AutoCreated = true;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
public int? DailyAttendanceProcessID { get; set; }
|
|||
|
public DateTime AttnDate { get; set; }
|
|||
|
public int EmployeeID { get; set; }
|
|||
|
public int ShiftID { get; set; }
|
|||
|
public int? PayrollTypeID { get; set; }
|
|||
|
public EnumattnBeniftsType BenifitsType { get; set; }
|
|||
|
public int? OtherBenifitItemID { get; set; }
|
|||
|
public double OtherBenifitValue { get; set; }
|
|||
|
public DateTime SalaryMonth { get; set; }
|
|||
|
public bool IsArrear { get; set; }
|
|||
|
public bool AutoCreated { get; set; }
|
|||
|
public bool ManualEdited { get; set; }
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region IDailyAttendanceAllowance Service
|
|||
|
|
|||
|
public interface IDailyAttendanceAllowanceService
|
|||
|
{
|
|||
|
List<DailyAttendanceAllowance> GetByPayrollType(int payrollTypeID);
|
|||
|
DailyAttendanceAllowance GetById(int id);
|
|||
|
List<DailyAttendanceAllowance> GetByAttnDate(DateTime attnDate);
|
|||
|
List<DailyAttendanceAllowance> GetByAttnDateRange(DateTime attnFromDate, DateTime attnToDate);
|
|||
|
List<DailyAttendanceAllowance> GetByAttnDateRangePayrollType(DateTime attnFromDate, DateTime attnToDate, int payrollTypeid);
|
|||
|
// DataTable GetByAttnDateRangePayrollTypedt(DateTime attnFromDate, DateTime attnToDate, int payrollTypeid);
|
|||
|
DataTable GetByAttnbySalaryMonth(DateTime salaryMonth, int payrollTypeid);
|
|||
|
int Save(DailyAttendanceAllowance pDailyAttendanceAllowance);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|