Study.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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<Dictionary<string, List<string>>> groupLists { get; set; } = new List<Dictionary<string, List<string>>>();
  37. /// <summary>
  38. /// student 学生名单类型 research 教研组名单
  39. /// </summary>
  40. public string targetType { get; set; }
  41. /// <summary>
  42. /// 发布对象全部信息。由前端操作,用于前端回显发布对象的格式。
  43. /// </summary>
  44. public List<JsonElement> targets { get; set; } = new List<JsonElement>();
  45. //public List<Setting> teachers { get; set; } = new List<Setting>();
  46. public string progress { get; set; }
  47. public string scope { get; set; }
  48. public int? status { get; set; } = 0;
  49. //记录该评测内容下blob大小
  50. public long? size { get; set; } = 0;
  51. /// <summary>
  52. ///发布层级 类型 school area
  53. /// </summary>
  54. public string owner { get; set; }
  55. public string areaId { get; set; }
  56. public string pId { get; set; }
  57. public string presenter { get; set; }
  58. public string topic { get; set; }
  59. public long startTime { get; set; }
  60. public long endTime { get; set; }
  61. public string address { get; set; }
  62. //培训内容
  63. public string desc { get; set; }
  64. public string img { get; set; }
  65. public string workId { get; set; }
  66. public string surveyId { get; set; }
  67. public string examId { get; set; }
  68. //发布层级 0校级,1区级
  69. public int? publish { get; set; } = 0;
  70. }
  71. /*public class Setting
  72. {
  73. public string id { get; set; }
  74. public string name { get; set; }
  75. public string groupName { get; set; }
  76. public string sign { get; set; }
  77. public long signTime { get; set; }
  78. //0未审核 1 通过 2 未通过
  79. public int status { get; set; }
  80. public long aTime { get; set; }
  81. }*/
  82. }