12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using TEAMModelOS.SDK.Context.Attributes.Azure;
- using TEAMModelOS.SDK.Module.AzureCosmosDBV3;
- namespace TEAMModelOS.Service.Models.Learn
- {
- /// <summary>
- /// 考试基础信息
- /// </summary>
- [CosmosDB(RU = 400, Name = "LearnUnit")]
- public class LearnUnit:ID
- {
- public int? ttl { get; set; } = -1;
- public LearnUnit() {
- //syllabus = new List<string>();
- resource = new List<string>();
- item = new List<string>();
- }
- //创建时间
- public long createTime { get; set; }
- //创建者
- public string creator { get; set; }
- public string id { get; set; }
- //public List<string> syllabus { get; set; }
- /// <summary>
- /// 资源内容
- /// </summary>
- public List<string> resource { get; set; }
- /// <summary>
- /// 题目
- /// </summary>
- public List<string> item { get; set; }
- /// <summary>
- /// 名称
- /// </summary>
- public string name { get; set; }
- [PartitionKey]
- public string scopeCode { get; set; }
- public string subjectCode { get; set; }
- }
- }
|