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 search(LeftWorkInsuranceSearchModel searchModel); string StartWork(long employeeId, long workshopId, string leftWork); OperationResult RemoveLeftWorkInsurance(long id); OperationResult RemoveAllLeftWorkInsurance(long workshopId,long employeeId); List GetLeftPersonelByWorkshopId(List workshopIds); List SearchForCreateInsuranceList(EmployeeForCreateInsuranceListSearchModel searchModel); LeftWorkInsuranceViewModel GetLeftPersonelByWorkshopIdAndEmployeeId(long workshopId, long itemEmployeeId); OperationResult CreateLeftWorkInsurance(InformationLeftworkInsurance command); OperationResult CreateLeftworkInsuranceByLeftworkGroups(string employeeFullName, long commandEmployeeId, List commandPersonnelCode, List 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 /// /// دریافت شروع و ترک کار بیمه پرسنل و اطلاعات هویتی آن /// /// /// List GetEmployeeInsuranceLeftWorksAndInformation(long workshopId, DateTime startDate, DateTime endDate); #endregion }