123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- using CZFW.Framework.Model;
- using CZFW.Framework.Model.Entity;
- using CZFW.Framework.Model.ViewModel;
- using System.Collections.Generic;
- namespace CZFW.Framework.Interface
- {
- public interface IPrivilegeGroupApi
- {
-
-
-
-
-
- IList<PrivilegeModel> GetPrivilegeInGroup(string mark);
-
-
-
-
-
- IList<PrivilegeModel> GetAllPrivilegeInGroup(string mark);
-
-
-
-
-
- PrivilegeGroupModel GetModelByMark(string mark);
-
-
-
-
-
-
- IList<PrivilegeGroupModel> GetDescendantsByMark(string mark, bool includeSelf = false);
-
-
-
-
-
- PrivilegeGroupModel GetModelById(int id);
-
-
-
-
-
-
- IList<PrivilegeGroupModel> GetDescendantsById(int id, bool includeSelf = false);
-
-
-
-
-
- IList<PrivilegeGroupModel> GetChildrenById(int id);
-
-
-
-
-
- IList<PrivilegeGroupModel> GetChildrenByMark(string mark);
-
-
-
-
-
-
- IList<PrivilegeGroupModel> GetTreeById(int id, bool includeSelf = true);
-
-
-
-
-
-
- IList<PrivilegeGroupModel> GetTreeByMark(string mark, bool includeSelf = true);
-
-
-
-
-
- string GetMarkById(int id);
-
-
-
-
-
- int GetIdByMark(string mark);
- ResultModel Add(PrivilegeGroupEntity entity);
- }
- }
|