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

namespace MessageApi.IRepositories
{
   /// <summary>
   /// 公告管理
   /// </summary>
    public interface ISys_Msg_NoticeInfoRepository : IRepository<Sys_Msg_NoticeInfo, string>
    {
        /// <summary>
        /// 列表 -- 关联查询
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="projectid"></param>
        /// <param name="typeid"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IEnumerable<object> GetListByPage(string keyword,string rolecode,string usercode, string stime, string etime, int isread, int pageIndex, int pageSize, out int recordCount);

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