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 GetByPayrollType(int payrollTypeID); DailyAttendanceAllowance GetById(int id); List GetByAttnDate(DateTime attnDate); List GetByAttnDateRange(DateTime attnFromDate, DateTime attnToDate); List 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 }