using System.Data.Common; using GB5Shared.DTO.Framework.Login; using GB5Shared.ResponseStandard; using MMDAL.DTO.Scheduling; namespace MMDAL.CustomCode.Scheduling { public interface IWorkCenterShiftMapDAL { Task GetShiftMap(int shiftMapId, LoginDTO loginDTO, CancellationToken ct = default); Task> GetShiftMapList(int workCenterId, LoginDTO loginDTO, CancellationToken ct = default); Task> GetShiftMapForDate(int workCenterId, DateTime scheduleDate, byte dayOfWeek, LoginDTO loginDTO, CancellationToken ct = default); Task> GetShiftPatternsForHorizonAsync(IEnumerable workCenterIds, DateTime horizonFrom, DateTime horizonTo, LoginDTO loginDTO, CancellationToken ct = default); Task> SaveShiftMap(WorkCenterShiftMapDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> UpdateShiftMap(WorkCenterShiftMapDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> DeleteShiftMap(int shiftMapId, LoginDTO loginDTO, DbTransaction tx); } }