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

namespace TestUserTypeApi.IRepositories
{
    public interface ItestusertypeRepository : IRepository<TestPager, string>
    {

        /// <summary>
        /// 列表 - 关联学习资料表 by page
        /// </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> GetUserInfo(int pageIndex, int pageSize);
        /// <summary>
        /// 添加数据
        /// </summary>
        /// <param name="tp"></param>
        /// <returns></returns>
        int AddTestpager(TestPager tp);
        /// <summary>
        /// 根据id获取信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        object GetUsertesttype(string id);

    }
}
