ArtEvaluation.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }
  64. public class Tasks {
  65. public string id { get; set; }
  66. public List<Acs> task { get; set; } = new List<Acs>();
  67. }
  68. public class Acs {
  69. public string acId { get; set; }
  70. public string subject { get; set; }
  71. public int? isOrder { get; set; } = 0;
  72. public string type { get; set; }
  73. public string workDesc { get; set; }
  74. public long workEnd { get; set; }
  75. }
  76. }