using FangYar.Model.TBL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FangYar.IDAL.TBL
{
public interface SysNoticeIDAL
{
///
/// 根据ID获取model
///
TBL_SYS_NOTICE GetModelByID(string ID);
///
/// 根据条件获取model
///
List GetList(string where);
///
/// 添加
///
bool Add(TBL_SYS_NOTICE model);
///
/// 删除
///
bool Delete(string IDList);
///
/// 编辑
///
bool Edit(TBL_SYS_NOTICE model);
///
/// 获取记录数
///
///
///
int Count(string strwhere);
int UnReadNoticeCount(string strwhere);
List UnReadNoticeList(string strwhere);
///
/// 分页
///
///
///
///
///
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
List QueryList(int PageIndex, int PageSize, string strwhere, string order);
List QueryJoinPageList(int PageIndex, int PageSize, string strwhere, string order);
///
/// 添加
///
List Add(TBL_SYS_NOTICE model, List listModel);
///
/// 编辑
///
List Edit(TBL_SYS_NOTICE model, List listModel,int ifUpdateReciver);
}
}