SysRoleDto.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using Model;
  2. namespace 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? roleCode { get; set; }
  13. public string? roleDesc { get; set; }
  14. public string? roleKey { get; set; }
  15. public int roleSort { get; set; }
  16. public int dataScope { get; set; }
  17. // public int[] deptIds { get; set; }
  18. public string? createBy { get; set; }
  19. /// <summary>
  20. /// 减少菜单集合
  21. /// </summary>
  22. public List<long> delMenuIds { get; set; } = new List<long>();
  23. public bool menuCheckStrictly { get; set; }
  24. public bool deptCheckStrictly { get; set; }
  25. }
  26. public class SysRoleSetDto
  27. {
  28. public long roleId { get; set; }
  29. public List<long> menuIds { get; set; } = new List<long>();
  30. }
  31. }