PermissionNodeOutput.cs 522 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. namespace VCommon.VApplication.Authorization
  3. {
  4. public class PermissionNodeOutput
  5. {
  6. public List<PermissionNodeOutput> Children { get; } = new();
  7. public string Code { get; }
  8. public string Name { get; }
  9. public string Description { get; }
  10. internal PermissionNodeOutput(string code, string name, string description = null)
  11. {
  12. Code = code;
  13. Name = name;
  14. Description = description;
  15. }
  16. }
  17. }