44 lines
2.1 KiB
C#
44 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Application;
|
|
using CompanyManagment.App.Contracts.InsuranceList;
|
|
using CompanyManagment.App.Contracts.PersonnleCode;
|
|
|
|
namespace CompanyManagment.App.Contracts.LeftWorkInsurance;
|
|
|
|
public interface ILeftWorkInsuranceApplication
|
|
{
|
|
OperationResult Create(CreateLeftWorkInsurance command);
|
|
OperationResult Edit(EditLeftWorkInsurance command);
|
|
EditLeftWorkInsurance GetDetails(long id);
|
|
|
|
List<LeftWorkInsuranceViewModel> search(LeftWorkInsuranceSearchModel searchModel);
|
|
string StartWork(long employeeId, long workshopId, string leftWork);
|
|
OperationResult RemoveLeftWorkInsurance(long id);
|
|
OperationResult RemoveAllLeftWorkInsurance(long workshopId,long employeeId);
|
|
List<LeftWorkInsuranceViewModel> GetLeftPersonelByWorkshopId(List<long> workshopIds);
|
|
|
|
List<LeftWorkInsuranceViewModel> SearchForCreateInsuranceList(EmployeeForCreateInsuranceListSearchModel searchModel);
|
|
LeftWorkInsuranceViewModel GetLeftPersonelByWorkshopIdAndEmployeeId(long workshopId, long itemEmployeeId);
|
|
OperationResult CreateLeftWorkInsurance(InformationLeftworkInsurance command);
|
|
|
|
OperationResult CreateLeftworkInsuranceByLeftworkGroups(string employeeFullName, long commandEmployeeId, List<PersonnelCodeViewModel> commandPersonnelCode, List<LeftWorkInsuranceGroup> leftWorkGroups);
|
|
|
|
OperationResult CheckDeleteLeftWorkInsurance(long workshopId, long employeeId, string date, int type);
|
|
OperationResult CheckEditLeftWorkInsurance(long workshopId, long employeeId, string date, int type);
|
|
|
|
OperationResult CheckBeforeSaveLeftWorkInsurance(long workshopId, long employeeId, string date, int type);
|
|
|
|
#region Insurance
|
|
/// <summary>
|
|
/// دریافت شروع و ترک کار بیمه پرسنل و اطلاعات هویتی آن
|
|
/// </summary>
|
|
/// <param name="workshopId"></param>
|
|
/// <returns></returns>
|
|
List<EmployeeDetailsForInsuranceListViewModel> GetEmployeeInsuranceLeftWorksAndInformation(long workshopId, DateTime startDate, DateTime endDate);
|
|
|
|
#endregion
|
|
} |