ExamClassResult.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. using TEAMModelOS.SDK.DI;
  7. namespace TEAMModelOS.SDK.Models
  8. {
  9. [CosmosDB(Database = "TEAMModelOS", Name = "Common")]
  10. public class ExamClassResult :CosmosEntity
  11. {
  12. public ExamClassResult() {
  13. //paper = new PaperSimple();
  14. studentAnswers = new List<List<List<string>>>();
  15. studentScores = new List<List<double>>();
  16. info = new ClassInfo();
  17. studentIds = new List<string>();
  18. studentAnswers = new List<List<List<string>>>();
  19. studentScores = new List<List<double>>();
  20. }
  21. public string school { get; set; }
  22. public string examId { get; set; }
  23. public string subjectId { get; set; }
  24. public int year { get; set; }
  25. public ClassInfo info { get; set; }
  26. public bool progress { get; set; } = false;
  27. //public PaperSimple paper { get; set; }
  28. //public List<double> point { get; set; }
  29. public List<string> studentIds { get; set; }
  30. public List<List<List<string>>> studentAnswers { get; set; }
  31. public List<List<double>> studentScores { get; set; }
  32. public string scope { get; set; }
  33. }
  34. /* public class PaperSimple {
  35. public string id { get; set; }
  36. public string name { get; set; }
  37. public string code { get; set; }
  38. public string blob { get; set; }
  39. public string scope { get; set; }
  40. }*/
  41. public class ClassInfo {
  42. public string id { get; set; }
  43. public string name { get; set; }
  44. //public string code { get; set; }
  45. }
  46. }