using System.Collections.Generic;
using Siger.Middlelayer.Repository.Data;
using Siger.Middlelayer.Repository.Paged;
using Siger.Middlelayer.TpmRepository.Entities;
using Siger.Middlelayer.TpmRepository.Response;

namespace Siger.Middlelayer.TpmRepository.Repositories.Interface
{
    public interface ISparepartRecordRepository : ITpmRepositoryBase<siger_project_sparepart_record>
    {
        IPagedCollectionResult<SparepartRecord> GetPagedList(int startTime, int endTime, string keyword,
            string is_standard, string is_substitute, int skutype, int inStockType, int outStockType,
            string link, List<int> machineIds, 
            int sparepart, int projectid, int page, int pagesize, bool getAll = false);

        IEnumerable<ResponseGetSparepartOut> GetListBySparepartOutType(List<int> sparepartout, int type, string repairid, int projectid);
    }
}
