12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using TEAMModelOS.SDK.Context.Attributes.Azure;
- using TEAMModelOS.SDK.DI;
- namespace TEAMModelFunction
- {
- //[CosmosDB(Database = "TEAMModelOS", Name = "Common")]
- public class ExamClassResult : ID
- {
- public ExamClassResult() {
- //paper = new PaperSimple();
- studentAnswers = new List<List<List<string>>>();
- studentScores = new List<List<double>>();
- info = new ClassInfo();
- studentIds = new List<string>();
- studentAnswers = new List<List<List<string>>>();
- studentScores = new List<List<double>>();
- }
- public string pk { get; set; }
- [PartitionKey]
- public string code { get; set; }
- public string school { get; set; }
- public string id { get; set; }
- public string examId { get; set; }
- public string subjectId { get; set; }
- public int year { get; set; }
- public ClassInfo info { get; set; }
- public string progress { get; set; }
- //public PaperSimple paper { get; set; }
- //public List<double> point { get; set; }
- public List<string> studentIds { get; set; }
- public List<List<List<string>>> studentAnswers { get; set; }
- public List<List<double>> studentScores { get; set; }
- public string scope { get; set; }
- public int? ttl { get; set; }
- }
- /* public class PaperSimple {
- public string id { get; set; }
- public string name { get; set; }
- public string code { get; set; }
- public string blob { get; set; }
- public string scope { get; set; }
- }*/
- public class ClassInfo {
- public string id { get; set; }
- public string name { get; set; }
- //public string code { get; set; }
- }
- }
|