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

namespace SignTokenApi.IRepositories
{
    public interface ISys_Work_GroupRepository : IRepository<Sys_Work_Group, string>
    {
        /// <summary>
        /// 获取分页
        /// </summary>
        /// <param name="projectid"></param>
        /// <param name="keyword"></param>
        /// <param name="userinfo"></param>
        /// <param name="pageindex"></param>
        /// <param name="pagesize"></param>
        /// <param name="recordcount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListsByPage(string projectid, string keyword, UserInfoModel userinfo, int pageindex, int pagesize, out int recordcount);

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