DefaultPostAuthView.cs 776 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.System
  7. {
  8. /// <summary>
  9. /// 默认职位权限 View
  10. /// </summary>
  11. public class DefaultPostPageAuthView
  12. {
  13. /// <summary>
  14. /// 部门Id
  15. /// </summary>
  16. public int DepId { get; set; }
  17. public List<PostPageAuth> PostPageAuths { get; set; } = new List<PostPageAuth>();
  18. }
  19. public class PostPageAuth
  20. {
  21. /// <summary>
  22. /// 职位Id
  23. /// </summary>
  24. public int PostId { get; set; }
  25. /// <summary>
  26. /// PageId
  27. /// </summary>
  28. public List<int> PageIds { get; set; } = new List<int>();
  29. }
  30. }