ArtEvaluation.cs 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. using DocumentFormat.OpenXml.Office2021.DocumentTasks;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Text.Json;
  7. using System.Threading.Tasks;
  8. namespace TEAMModelOS.SDK.Models.Cosmos.Common
  9. {
  10. public class ArtEvaluation : CosmosEntity
  11. {
  12. public ArtEvaluation()
  13. {
  14. pk = "Art";
  15. }
  16. public string name { get; set; }
  17. public string school { get; set; }
  18. //高级设置
  19. public List<Tasks> settings { get; set; } = new List<Tasks>();
  20. public string creatorId { get; set; }
  21. public long createTime { get; set; }
  22. public long updateTime { get; set; }
  23. //教研类型
  24. public int type { get; set; } = 0;
  25. /// <summary>
  26. /// 行政班
  27. /// </summary>
  28. public List<string> classes { get; set; } = new List<string>();
  29. /// <summary>
  30. /// 学生名单(包含自定义个人学生名单,学校教学班)
  31. /// </summary>
  32. public List<string> stuLists { get; set; } = new List<string>();
  33. public List<string> tchLists { get; set; } = new List<string>();
  34. public List<string> sIds { get; set; } = new List<string>();
  35. /// <summary>
  36. /// 发布对象全部信息。由前端操作,用于前端回显发布对象的格式。
  37. /// </summary>
  38. public List<JsonElement> targets { get; set; } = new List<JsonElement>();
  39. public string progress { get; set; }
  40. public string scope { get; set; }
  41. public int? status { get; set; } = 0;
  42. //记录该评测内容下blob大小
  43. public long? size { get; set; } = 0;
  44. /// <summary>
  45. ///发布层级 类型 school area
  46. /// </summary>
  47. public string owner { get; set; }
  48. public string areaId { get; set; }
  49. public string pId { get; set; }
  50. public string presenter { get; set; }
  51. public string topic { get; set; }
  52. public long startTime { get; set; }
  53. public long endTime { get; set; }
  54. public string address { get; set; }
  55. //培训内容
  56. public string desc { get; set; }
  57. public string img { get; set; }
  58. /* public string workId { get; set; }
  59. public string surveyId { get; set; }
  60. public string examId { get; set; }*/
  61. //发布层级 0校级,1区级
  62. public int? publish { get; set; } = 0;
  63. public List<ArtSubject> subjects { get; set; } = new List<ArtSubject>();
  64. public PeriodSimple period { get; set; }
  65. }
  66. public class Tasks {
  67. public string id { get; set; }
  68. public string quotaname { get; set; }
  69. public List<string> path { get; set; } = new List<string>();
  70. public List<Acs> task { get; set; } = new List<Acs>();
  71. }
  72. public class ArtSubject {
  73. public string id { get; set; }
  74. public string name { get; set; }
  75. }
  76. public class Acs {
  77. public string acId { get; set; }
  78. public string name { get; set; }
  79. public string subject { get; set; }
  80. public int? isOrder { get; set; } = 0;
  81. public int? type { get; set; } = 0;
  82. public string workDesc { get; set; }
  83. public long workEnd { get; set; }
  84. public string infoId { get; set; }
  85. }
  86. }