SysRoleDto.cs 822 B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. namespace ZR.Model.System.Dto
  3. {
  4. public class SysRoleDto : SysBase
  5. {
  6. public long RoleId { get; set; }
  7. /// <summary>
  8. /// 要添加的菜单集合
  9. /// </summary>
  10. public List<long> MenuIds { get; set; } = new List<long>();
  11. public string RoleName { get; set; }
  12. public string RoleKey { get; set; }
  13. public int RoleSort { get; set; }
  14. public int Status { get; set; }
  15. public int DataScope { get; set; }
  16. public int[] DeptIds { get; set; }
  17. /// <summary>
  18. /// 减少菜单集合
  19. /// </summary>
  20. public List<long> DelMenuIds { get; set; } = new List<long>();
  21. public bool MenuCheckStrictly { get; set; }
  22. public bool DeptCheckStrictly { get; set; }
  23. }
  24. }