BlockPointDto.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using MessagePack;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace TEAMModelOS.Model.Syllabus.Dtos
  6. {
  7. [MessagePackObject(keyAsPropertyName: true)]
  8. public class BlockPointDto
  9. {
  10. public string PartitionKey { get; set; }
  11. public string RowKey { get; set; }
  12. /// <summary>
  13. /// 名称
  14. /// </summary>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 描述
  18. /// </summary>
  19. // public string Description { get; set; }
  20. /// <summary>
  21. /// 上级ID
  22. /// </summary>
  23. public string Pid { get; set; } = "root";
  24. /// <summary>
  25. /// 学科
  26. /// </summary>
  27. public string SubjectCode { get; set; }
  28. /// <summary>
  29. /// 建议学段
  30. /// </summary>
  31. public string AdvicePeriodCode { get; set; }
  32. public int Order { get; set; }
  33. [IgnoreMember]
  34. public List<PointDto> Points { get; set; }
  35. [IgnoreMember]
  36. public List<BlockPointDto> Children { get; set; }
  37. public BlockPointDto()
  38. {
  39. Children = new List<BlockPointDto>();
  40. }
  41. }
  42. }