Files
Backend-Api/Company.Domain/RollCallAgg/IRollCallRepository.cs
2024-08-31 21:01:56 +03:30

26 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _0_Framework.Domain;
using CompanyManagment.App.Contracts.RollCall;
using CompanyManagment.App.Contracts.WorkingHoursTemp;
namespace Company.Domain.RollCallAgg
{
public interface IRollCallRepository : IRepository<long, RollCall>
{
EditRollCall GetByEmployeeIdAndWorkshopId(long employeeId, long workshopId);
EditRollCall GetById(long id);
List<RollCallViewModel> GetCurrentDay(RollCallSearchModel searchModel);
RollCallsByDateViewModel GetWorkshopRollCallHistory(RollCallSearchModel searchModel);
List<RollCallViewModel> Search(RollCallSearchModel searchModel);
CurrentDayRollCall GetWorkshopCurrentDayRollCalls(long workshopId);
List<CheckoutDailyRollCallViewModel> GetEmployeeRollCallsForMonth(long employeeId, long workshopId, DateTime startDate, DateTime endDate);
long Flag(long employeeId, long workshopId);
}
}