using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
namespace CY.IDAL
{
///
/// 办公系统厂商账户表-数据库操作接口
///
public interface IOA_FirmRoleDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 根据厂商编号查询全部角色
///
///
///
IEnumerable SelectList(Guid FirmId);
///
/// 根据编号查询单个角色
///
///
///
OA_FirmRole SelectModel(int? Keyid);
///
/// 编辑角色权限
///
///
///
///
///
bool EditMenusRole(int? Roleid, Guid FirmId, Dictionary MenusJionRole);
///
/// 删除角色以及角色的权限
///
///
///
bool DeleteRole(Infrastructure.Domain.IAggregateRoot model);
///
/// 根据角色获取一级菜单
///
/// 角色编号
///
List MenusOneList(int? RoleId);
///
/// 根据一级菜单获取二级菜单
///
/// 一级菜单
///
List MenusTwoList(int? MenuIdOne, int? RoleId);
///
/// 根据二级菜单获取三级菜单
///
/// 二级菜单
///
List MenusThreeList(int? MenuIdTwo, int? RoleId);
}
}