Files
Backend-Api/Company.Domain/PaymentToEmployeeAgg/IPaymentToEmployeeRepository.cs
2024-07-05 21:36:15 +03:30

27 lines
954 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _0_Framework.Application;
using _0_Framework.Domain;
using CompanyManagment.App.Contracts.PaymentToEmployee;
namespace Company.Domain.PaymentToEmployeeAgg
{
public interface IPaymentToEmployeeRepository : IRepository<long, PaymentToEmployee>
{
PaymentToEmployeeViewModel GetByYearAndMonth(string year, string month);
PaymentToEmployeeViewModel GetDetail(long id);
PaymentToEmployeeViewModel GetByYearAndMonthAndWorkshopAndEmployee(string year, string month, long workshopId, long employeeId);
void Create(long WorkshopId, long EmployeeId);
List<PaymentToEmployeeViewModel> searchClient(PaymentToEmployeeSearchModel searchModel);
void RemovePaymentItem(long id);
List<PaymentToEmployeePrintViewModel> PrintAll(PaymentToEmployeeSearchModel searchModel);
}
}