SysRoleDto.cs 830 B

123456789101112131415161718192021222324252627
  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 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. public string CreateBy { get; set; }
  18. /// <summary>
  19. /// 减少菜单集合
  20. /// </summary>
  21. public List<long> DelMenuIds { get; set; } = new List<long>();
  22. public bool MenuCheckStrictly { get; set; }
  23. public bool DeptCheckStrictly { get; set; }
  24. }
  25. }