using System;
using System.Collections.Generic;
using System.Text;
using Song.Entities;
namespace Song.ServiceInterfaces
{
///
/// 支付接口管理
///
public interface IPayInterface : WeiSha.Common.IBusinessInterface
{
///
/// 添加
///
/// 业务实体
void PayAdd(PayInterface entity);
///
/// 修改
///
/// 业务实体
void PaySave(PayInterface entity);
///
/// 删除
///
/// 业务实体
void PayDelete(PayInterface entity);
///
/// 删除,按主键ID;
///
/// 实体的主键
void PayDelete(int identify);
///
/// 获取单一实体对象,按主键ID;
///
/// 实体的主键
///
PayInterface PaySingle(int identify);
///
/// 获取所有;
///
/// 机构id
/// 接口平台,电脑为web,手机为mobi
/// 是否允许
///
PayInterface[] PayAll(int orgid, string platform, bool? isEnable);
///
/// 当前对象名称是否重名
///
/// 业务实体
///
PayInterface PayIsExist(int orgid, PayInterface entity);
///
/// 将当前项目向上移动;仅在当前对象的同层移动,即同一父节点下的对象这前移动;
///
///
/// 如果已经处于顶端,则返回false;移动成功,返回true
bool PayRemoveUp(int id);
///
/// 将当前项目向下移动;仅在当前对象的同层移动,即同一父节点下的对象这前移动;
///
///
/// 如果已经处于顶端,则返回false;移动成功,返回true
bool PayRemoveDown(int id);
}
}