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

namespace OnLineChatApi.IRepositories
{
    public interface IChat_ProcessRepository : IRepository<Chat_Process, string>
    {
        /// <summary>
        /// 列表 -- 关联查询
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListsByPage(string keyword, int pageIndex, int pageSize, out int recordCount);

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