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

namespace ConfigurationApi.IRepositories
{
    public interface ISys_BuildingRepository: IRepository<Sys_Building,string>
    {
        /// <summary>
        /// 获取楼列表 - 分页 - 关联项目表
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="projectid"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pagesize"></param>
        /// <returns></returns>
        IEnumerable<object> GetBuildListsByPage(string keyword, string projectid, UserAccountInfoModel userinfo, int pageIndex, int pagesize, out int recordCount);

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

    }
}
