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

namespace Siger.Middlelayer.QmsRepository.Repositories.Interface
{
    public interface IInspectStandardCategoryRepository : IQmsRepositoryBase<siger_qms_inspection_standard_category>
    {
        IPagedCollectionResult<ReponseInspectStandardCategory> GetPagedList(int parentid, int projectid, int page, int pagesize, int toexcel);

        CommonImportResult ImportInspectStandardCategory(IEnumerable<InspectStandardCategoryTemplate> datas, int projectid);

        IEnumerable<siger_qms_inspection_standard_category> GetSonCategorys(int parentId, int projectid);
    }
}
