Files
Backend-Api/Company.Domain/CustomizeWorkshopGroupSettingsAgg/ICustomizeWorkshopGroupSettingsRepository.cs
2025-01-26 18:44:39 +03:30

28 lines
1.5 KiB
C#

using System.Collections.Generic;
using _0_Framework.Domain;
using Company.Domain.CustomizeWorkshopGroupSettingsAgg.Entities;
using CompanyManagment.App.Contracts.CustomizeWorkshopSettings;
using CompanyManagment.App.Contracts.Employee;
namespace Company.Domain.CustomizeWorkshopGroupSettingsAgg;
public interface ICustomizeWorkshopGroupSettingsRepository : IRepository<long, CustomizeWorkshopGroupSettings>
{
CustomizeWorkshopGroupSettings GetIncludeWorkshopSettings(long id);
CustomizeWorkshopGroupSettings GetWorkshopMainGroup(long workshopId);
List<EmployeeViewModel> GetEmployeesWithoutGroup(long workshopSettingsId);
List<EmployeeViewModel> GetEmployeesWithoutGroupByWorkshopId(long workshopId);
CustomizeWorkshopGroupSettings GetWithEmployees(long groupId);
List<CustomizeWorkshopEmployeeSettingsViewModel> GetShiftChangedEmployeeSettingsByGroupSettingsId(long groupSettingsId);
List<CustomizeWorkshopEmployeeSettingsViewModel> GetSettingChangedEmployeeSettingsByGroupSettingsId(long groupSettingsId);
List<CustomizeWorkshopEmployeeSettingsViewModel> GetEmployeeSettingsByGroupSettingsId(long groupSettingsId);
EditCustomizeWorkshopGroupSettings GetCustomizeWorkshopGroupSettingsDetails(long groupId);
List<CustomizeWorkshopGroupSettings> GetAllGroupsIncludeEmployeeSettingsByWorkshopSettingsId(
long workshopSettingsId);
void Remove(long groupId);
CustomizeWorkshopGroupSettingsViewModel GetEmployeesGroupSettingsByEmployeeId(long employeeId, long workshopId);
bool HasAnyEmployeeWithoutGroup(long workshopId);
}