using HL_FristAidPlatform_Help; using HL_FristAidPlatform_Models; namespace HL_FristAidPlatform_IDataBase { /// /// 接口层T_Service_Notice /// public interface IT_Service_Notice { #region 成员方法 /// /// 增加一条数据 /// T_Service_Notice Add(T_Service_Notice model); /// /// 更新一条数据 /// bool Update(T_Service_Notice model); /// /// 删除数据 /// bool Delete(long ID); /// /// 获取单个数据 /// T_Service_Notice Get(long id); /// /// 获取分页列表 /// /// 起始页 /// 每页大小 /// 消息类型编号 /// 阅读状态 /// 用户编号 /// 查询关键词 /// TableModel GetPageList(int pageIndex, int pageSize, long noticeTypeID, int readState, long userID, string keyWord); #endregion 成员方法 /// /// 根据用户编号和阅读表示获取消息列表 /// /// 用户编号 /// 阅读标识-1全部0未读1已读 /// 前多少条 /// TableModel GetListByUserID(long userID, int readState, int topNumber); } }