Files
Backend-Api/Company.Domain/CustomizeWorkshopSettingsAgg/ICustomizeWorkshopSettingsRepository.cs
2025-01-07 23:19:12 +03:30

27 lines
1.3 KiB
C#

using _0_Framework.Application;
using _0_Framework.Domain;
using Company.Domain.CustomizeWorkshopSettingsAgg.Entities;
using CompanyManagment.App.Contracts.CustomizeWorkshopSettings;
using System.Collections.Generic;
namespace Company.Domain.CustomizeWorkshopSettingsAgg;
public interface ICustomizeWorkshopSettingsRepository : IRepository<long, CustomizeWorkshopSettings>
{
// It will Get the Workshop Settings with its groups and the employees of groups.
CustomizeWorkshopSettingsViewModel GetWorkshopSettingsByWorkshopId(long workshopId, AuthViewModel auth);
CustomizeWorkshopSettingsViewModel GetWorkshopSettingsByWorkshopIdForAdmin(long workshopId);
EditCustomizeWorkshopSettings GetWorkshopSettingsDetails(long workshopId);
EditCustomizeWorkshopSettings GetSimpleWorkshopSettings(long workshopId);
List<ChangedGroupedViewModel> GetShiftChangesGroupAndEmployees(long customizeWorkshopSettingsId);
CustomizeWorkshopSettingsViewModel GetWorkshopIncludeGroupsByWorkshopId(long workshopId);
#region Pooya
List<CustomizeWorkshopEmployeeSettingsViewModel> GetEmployeeSettingsWithMonthlySalary(long workshopId);
List<CustomizeWorkshopEmployeeSettingsViewModel> GetEmployeeSettingsByWorkshopId(long workshopId);
#endregion
CustomizeWorkshopSettings GetBy(long workshopId);
}