Study.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Text.Json;
  5. namespace TEAMModelOS.SDK.Models
  6. {
  7. public class Study : CosmosEntity
  8. {
  9. //教研活动
  10. public Study()
  11. {
  12. pk = "Study";
  13. }
  14. public string name { get; set; }
  15. public string school { get; set; }
  16. //高级设置
  17. public List<string> settings { get; set; } = new List<string>();
  18. public string creatorId { get; set; }
  19. public long createTime { get; set; }
  20. public long updateTime { get; set; }
  21. public int hour { get; set; }
  22. //教研类型
  23. public int type { get; set; } = 0;
  24. /// <summary>
  25. /// 行政班
  26. /// </summary>
  27. public List<string> classes { get; set; } = new List<string>();
  28. /// <summary>
  29. /// 学生名单(包含自定义个人学生名单,学校教学班)
  30. /// </summary>
  31. public List<string> stuLists { get; set; } = new List<string>();
  32. /// <summary>
  33. /// 教研组名单
  34. /// </summary>
  35. public List<string> tchLists { get; set; } = new List<string>();
  36. public List<string> teacIds { get; set; } = new List<string>();
  37. public List<Dictionary<string, List<string>>> groupLists { get; set; } = new List<Dictionary<string, List<string>>>();
  38. /// <summary>
  39. /// student 学生名单类型 research 教研组名单
  40. /// </summary>
  41. public string targetType { get; set; }
  42. /// <summary>
  43. /// 发布对象全部信息。由前端操作,用于前端回显发布对象的格式。
  44. /// </summary>
  45. public List<JsonElement> targets { get; set; } = new List<JsonElement>();
  46. //public List<Setting> teachers { get; set; } = new List<Setting>();
  47. public string progress { get; set; }
  48. public string scope { get; set; }
  49. public int? status { get; set; } = 0;
  50. //记录该评测内容下blob大小
  51. public long? size { get; set; } = 0;
  52. /// <summary>
  53. ///发布层级 类型 school area
  54. /// </summary>
  55. public string owner { get; set; }
  56. public string areaId { get; set; }
  57. public string pId { get; set; }
  58. public string presenter { get; set; }
  59. public string topic { get; set; }
  60. public long startTime { get; set; }
  61. public long endTime { get; set; }
  62. public string address { get; set; }
  63. //培训内容
  64. public string desc { get; set; }
  65. public string img { get; set; }
  66. public string workId { get; set; }
  67. public string surveyId { get; set; }
  68. public string examId { get; set; }
  69. //发布层级 0校级,1区级
  70. public int? publish { get; set; } = 0;
  71. //结束后账户统计
  72. public List<FMember> staffIds { get; set; } = new List<FMember>();
  73. }
  74. /*public class Setting
  75. {
  76. public string id { get; set; }
  77. public string name { get; set; }
  78. public string groupName { get; set; }
  79. public string sign { get; set; }
  80. public long signTime { get; set; }
  81. //0未审核 1 通过 2 未通过
  82. public int status { get; set; }
  83. public long aTime { get; set; }
  84. }*/
  85. }