using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
namespace CY.IDAL.Inquiry
{
///
/// 品牌相关数据库操作接口
///
public interface IPaperTypeDAL : ICommonDAL
{
///
/// 分页返回纸张类别列表
///
/// 品牌名称
/// 分页参数
///
IEnumerable SelectModelPage(string typeName,int status,Infrastructure.Query.Pagination pagination);
///
/// 根据主键返回纸张类别实体
///
/// 主键ID
/// 纸张类别实体
Model.SysInquiry_PaperType SelectModelByKey(int keyid);
///
/// 判断是否有相同的纸张类别名称
///
///
///
bool IsExistsPaperTypeName(string typeName);
///
/// 返回所有有效的纸张列表
///
///
IEnumerable GetPaperTypeList();
///
/// 获取最新排序顺序
///
///
int GetOrderNumByMax();
}
}