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

namespace Siger.Middlelayer.TlmRepository.Repositories.Interface
{
    public interface IToolLifeWorkorderRepository : ITlmRepositoryBase<siger_project_toollife_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);
    }
}
