SysRoleMenuInput.cs 687 B

1234567891011121314151617181920212223242526272829
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. /// <summary>
  5. /// 菜单及数据范围标识
  6. /// </summary>
  7. public class SysRoleMenuScopeInput
  8. {
  9. public int MenuId { get; set; }
  10. public DataScopeType DataScopeType { get; set; }
  11. }
  12. /// <summary>
  13. /// 授权角色菜单参数
  14. /// </summary>
  15. public class GrantSysRoleMenuInput
  16. {
  17. /// <summary>
  18. /// 角色ID
  19. /// </summary>
  20. [Required]
  21. public int RoleId { get; set; }
  22. /// <summary>
  23. /// 菜单及数据范围标识
  24. /// </summary>
  25. public List<SysRoleMenuScopeInput> RoleMenuScopeList { get; set; }
  26. }
  27. }