using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.CRM
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创 建:超级管理员
/// 日 期:2017-07-11 09:43
/// 描 述:客户管理
///
public interface CrmCustomerIBLL
{
#region 获取数据
///
/// 获取列表
///
///
IEnumerable GetList();
///
/// 获取列表
///
/// 分页
/// 查询参数
/// 返回分页列表
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 获取实体
///
/// 主键值
///
CrmCustomerEntity GetEntity(string keyValue);
#endregion
#region 验证数据
///
/// 客户名称不能重复
///
/// 名称
/// 主键
///
bool ExistFullName(string fullName, string keyValue);
#endregion
#region 提交数据
///
/// 删除数据
///
/// 主键
void DeleteEntity(string keyValue);
///
/// 保存表单(新增、修改)
///
/// 主键值
/// 实体对象
///
void SaveEntity(string keyValue, CrmCustomerEntity entity);
#endregion
}
}