using Bootstrap.Security; using MongoDB.Driver; using System.Collections.Generic; namespace Bootstrap.Client.DataAccess.MongoDB { /// /// Group 实体类 /// internal class Group : BootstrapGroup { /// /// 获得/设置 群组描述 /// public string Description { get; set; } /// /// 获得/设置 当前组授权角色数据集合 /// public IEnumerable Roles { get; set; } /// /// 获得所有组数据方法 /// /// public IEnumerable Retrieves() { return DbManager.Groups.Find(FilterDefinition.Empty).ToList(); } } }