using MadRunFabric.Model;
using ConfigurationApi.Model.Dto;
using MadRunFabric.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace ConfigurationApi.IRepositories
{
    public interface ISys_FloorRepository: IRepository<Sys_Floor,string>
    {        
        /// <summary>
        /// 获取楼层列表 - 分页 - 关联项目表
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="projectid"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pagesize"></param>
        /// <returns></returns>
        IEnumerable<SysFloorListDto> GetListsByPage(string keyword, string buildid, int pageIndex, int pagesize, out int recordCount);

        /// <summary>
        /// 获取楼层详情 by id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        SysFloorDetailsDto GetDetails(string id);

        /// <summary>
        /// 获取五级联动
        /// </summary>
        /// <returns></returns>
        object GetTree();

    }
}
