using System; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace TEAMModelOS.SDK.Models.Cosmos.Common { class ActivityRecord : CosmosEntity { /// /// 源数据的发布层级 类型 school teacher /// public string owner { get; set; } /// /// 源数据的 code /// public string scode { get; set; } public string type { get; set; } //评测模式 public string source { get; set; } public string name { get; set; } public long startTime { get; set; } public long endTime { get; set; } public string scope { get; set; } public string school { get; set; } public string creatorId { get; set; } public List subjects { get; set; } public string blob { get; set; } public string recordUrl { get; set; } public List classIds { get; set; } = new List(); public long createTime { get; set; } = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); /// /// 任务完成状态,-1 未参与,0,未完成, 1已完成 /// public int taskStatus { get; set; } = -1; //写入投票记录,评测作答记录等,自行定义相关规范 public List extParam { get; set; } = new List(); } }