using Siger.Middlelayer.QmsRepository.Entities;
using Siger.Middlelayer.QmsRepository.Response;
using Siger.Middlelayer.Repository.Paged;
using Siger.Middlelayer.Utility.ImportEntities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.QmsRepository.Repositories.Interface
{
    public interface IQmsReworkSettingRepository : IQmsRepositoryBase<siger_qms_rework_setting>
    {
        IPagedCollectionResult<ResponseReworkSettingData> GetSettingPagedList(int productId, int materailId, int preRoute, int route,  int projectId, int page, int pagesize);

        IEnumerable<ResponseReworkSettingData>GetAllData(int productId, int materailId, int preRoute, int route, int projectId);

        CommonImportResult ImportReworkSetting(IEnumerable<ReworkSetting> standards, int projectid);

        IEnumerable<ResponseProductRoute> GetReworkRoute(int productId, int route, int projectId);
    }
}
