using MadRunFabric.Model;
using MadRunFabric.Common;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace CallCenterApi.IRepositories
{
    public interface ISys_IVRWordsRepository : IRepository<Sys_IVRWords, string>
    {       
        

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

        /// <summary>
        /// 联合查询列表
        /// </summary>
        /// <param name="key"></param>
        /// <param name="state"></param>
        /// <param name="stime"></param>
        /// <param name="etime"></param>
        /// <param name="pagesize"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListByPage(string key, string state, string stime, string etime,int pageindex, int pagesize, out int recordCount);
    }
}
