ArticleContentJson.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System.Collections.Generic;
  2. namespace GxPress.Entity.Article
  3. {
  4. public class Marks
  5. {
  6. public string type { get; set; }
  7. public Attrs attrs { get; set; }
  8. }
  9. public class Attrs
  10. {
  11. /// <summary>
  12. ///
  13. /// </summary>
  14. public string src { get; set; }
  15. public string fontSize { get; set; }
  16. public string fontColor { get; set; }
  17. }
  18. public class ContentItemChild
  19. {
  20. /// <summary>
  21. ///
  22. /// </summary>
  23. public string type { get; set; }
  24. /// <summary>
  25. ///
  26. /// </summary>
  27. public Attrs attrs { get; set; }
  28. public string text { get; set; }
  29. public List<Marks> marks { get; set; }
  30. }
  31. public class ContentItem
  32. {
  33. /// <summary>
  34. ///
  35. /// </summary>
  36. public string type { get; set; }
  37. /// <summary>
  38. ///
  39. /// </summary>
  40. public List<ContentItemChild> content { get; set; }
  41. }
  42. public class ArticleContent
  43. {
  44. /// <summary>
  45. ///
  46. /// </summary>
  47. public string type { get; set; }
  48. /// <summary>
  49. ///
  50. /// </summary>
  51. public List<ContentItem> content { get; set; }
  52. }
  53. }