ElTreeNode.cs 480 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. using Newtonsoft.Json.Serialization;
  7. namespace VCommonCoreExample.AppServices.System.Dto
  8. {
  9. [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
  10. public class ElTreeNode
  11. {
  12. public string Label { get; set; }
  13. public string Key { get; set; }
  14. public IReadOnlyCollection<ElTreeNode> Children { get; set; }
  15. }
  16. }