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

namespace Siger.Middlelayer.IMSRepository.Repositories.Interface
{
    public interface IToolLifeWorkorderRepository : IIMSRepositoryBase<siger_project_ims_workorder>
    {
        IPagedCollectionResult<ResponseGetWorkorderList> GetPagedList(int id, string workorder, int productId, string draw_code,
            int macineType, string route, int page, int pagesize, int projectId);

        IEnumerable<ResponseIdTitle> GetProductIdTitles(int workorder_id, int projectId);
        List<ResponseGetWorkorderList> GetWorkorderData(int pid);
    }
}
