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>>(); studentScores = new List>(); info = new ClassInfo(); studentIds = new List(); studentAnswers = new List>>(); studentScores = new List>(); } 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 point { get; set; } public List studentIds { get; set; } public List>> studentAnswers { get; set; } public List> 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; } } }