using Siger.Middlelayer.Repository.Data;
using Siger.Middlelayer.Repository.Entities;
using Siger.Middlelayer.Utility.ImportEntities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.Repository.Repositories.Interface
{
    public interface ISigerProjectProductStructure : IApiConfigRepositoryBase<siger_project_product_structure>
    {
        IEnumerable<ProductInfoData> GetProductMaterial(int projectId, int productId, int material,string productname);
        IEnumerable<ProductstructureData> GetTreeData(int projectId,List<int>ids);

        CommonImportResult ImportData(IEnumerable<ProductStructureBom> data, int projectId, int userId);

        IEnumerable<DownProductStructureData>GetProductStructureDatas(int projectId, List<int> ids);
        IEnumerable<siger_project_product_structure> GetSon(int parentId, int projectid);
    }
}
