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

namespace EquipmentApi.IRepositories
{
    public interface IPro_StudyMaterials_InfoRepository: IRepository<Pro_StudyMaterials_Info,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> GetListsByPage(string keyword, string stime, string etime, string projectid, UserAccountInfoModel userinfo, int pageIndex, int pageSize, out int recordCount);

        /// <summary>
        /// 列表 - 关联学习资料表 - App
        /// </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> GetAppLists(string keyword, string stime, string etime,string projectid, UserAccountInfoModel userinfo);

        /// <summary>
        /// 详情 关联学习资料表
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        object GetDetails(string id);
    }
}
