using System; using System.Collections.Generic; using _0_Framework.Application; using _0_Framework.Domain; using CompanyManagment.App.Contracts.LeftWork; using CompanyManagment.App.Contracts.PersonnleCode; namespace Company.Domain.LeftWorkAgg; public interface ILeftWorkRepository : IRepository { EditLeftWork GetDetails(long id); string StartWork(long employeeId, long workshopId, string leftWork); List searchByWorkshopId(long workshopId); List search(LeftWorkSearchModel searchModel); LeftWorkViewModel CheckoutleftWorkCheck(DateTime contractStart, long workshopId, long employeeId); OperationResult RemoveLeftWork(long id); List GetLeftPersonelByWorkshopId(List workshopIds); OperationResult RemoveAllLeftWork(long workshopId, long employeeId); List SearchLeftWork(LeftWorkSearchModel searchModel); OperationResult CreateLeftWork(InformationLeftwork informationLeftwork); OperationResult CreateLeftWorkByLeftWorkGroups(string employeeFullName, long commandEmployeeId, List commandPersonnelCode, List leftWorkGroups); OperationResult CheckDeleteLeftWork(long workshopId, long employeeId, DateTime date, int type); OperationResult CheckEditLeftWork(long workshopId, long employeeId, DateTime date, int type); }