61 lines
2.0 KiB
C#
61 lines
2.0 KiB
C#
using _0_Framework.Application;
|
||
using CompanyManagment.App.Contracts.TemporaryClientRegistration;
|
||
using System.Collections.Generic;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace CompanyManagment.App.Contracts.InstitutionPlan;
|
||
|
||
public interface IInstitutionPlanApplication
|
||
{
|
||
/// <summary>
|
||
/// ایجاد یا ویرایش درصد پلن ها
|
||
/// </summary>
|
||
/// <param name="command"></param>
|
||
/// <returns></returns>
|
||
OperationResult CreateInstitutionPlanPercentage(CreateInstitutionPlanPercentage command);
|
||
|
||
/// <summary>
|
||
/// دریافت لیست 30 تایی مبالغ سرویس ها به ازای هر نفر
|
||
/// </summary>
|
||
/// <param name="pageIndex"></param>
|
||
/// <param name="countPeron"></param>
|
||
/// <returns></returns>
|
||
List<InstitutionPlanViewModel> GetInstitutionPlanList(int pageIndex, int countPeron);
|
||
|
||
/// <summary>
|
||
/// دریافت درصد ها برای لود در مودال ایجاد
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
EditInstitutionPlanPercentage GetByFirst();
|
||
|
||
/// <summary>
|
||
/// دریافت مبالغ سرویس ها برای هر کارگاه
|
||
/// بر اساس تعداد پرسنل کارگاه
|
||
/// </summary>
|
||
/// <param name="command"></param>
|
||
/// <returns></returns>
|
||
InstitutionPlanViewModel GetInstitutionPlanForWorkshop(WorkshopTempViewModel command);
|
||
|
||
|
||
/// <summary>
|
||
/// دریافت دیتای درصد سرویس برای مودال ایجاد
|
||
/// </summary>
|
||
/// <returns></returns>
|
||
Task<CreateServiceAmountDto> GetCreateModalData();
|
||
|
||
/// <summary>
|
||
/// ایجاد درصد سرویس
|
||
/// </summary>
|
||
/// <param name="command"></param>
|
||
/// <returns></returns>
|
||
Task<OperationResult> CreateInstitutionPlanPercentage(CreateServiceAmountDto command);
|
||
|
||
|
||
/// <summary>
|
||
/// دریافت لیست مبالغ سرویس ها
|
||
/// </summary>
|
||
/// <param name="searchModel"></param>
|
||
/// <returns></returns>
|
||
Task<PagedResult<InstitutionPlanListDto>> GetList(
|
||
InstitutionPlanSearchModel searchModel);
|
||
} |