Files
Backend-Api/Company.Domain/ClassificationSchemeAgg/IClassificationEmployeeRepository.cs

42 lines
1.3 KiB
C#

using _0_Framework.Domain;
using CompanyManagment.App.Contracts.ClassificationScheme;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Company.Domain.ClassificationSchemeAgg;
public interface IClassificationEmployeeRepository : IRepository<long, ClassificationEmployee>
{
/// <summary>
/// دریافت لیست پرسنل کارگاه
/// تب افزودن پرسنل
/// </summary>
/// <param name="schemeId"></param>
/// <returns></returns>
Task<List<EmployeeInfoList>> GetEmployeeListData(long schemeId);
/// <summary>
/// دریافت اطلاعات عضویتی پرسنل در گروه
/// </summary>
/// <param name="employeeId"></param>
/// <returns></returns>
Task<List<EditEmployeeGroupList>> GetEmployeeMemberizeData(long employeeId);
/// <summary>
/// ذخیره انتقال پرسنل به گره های دیگر
///بصورت گروهی
/// </summary>
/// <param name="command"></param>
/// <returns></returns>
Task CreateTransferRange(List<ClassificationEmployee> command);
/// <summary>
/// حذف پرسنل از گروه از سمت ویرایش
/// </summary>
/// <param name="command"></param>
/// <returns></returns>
Task RemoveRangeByEdit(List<ClassificationEmployee> command);
}