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