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
{
///
/// 考试基础信息
///
[CosmosDB(RU = 400, Name = "LearnUnit")]
public class LearnUnit:ID
{
public int? ttl { get; set; } = -1;
public LearnUnit() {
//syllabus = new List();
resource = new List();
item = new List();
}
//创建时间
public long createTime { get; set; }
//创建者
public string creator { get; set; }
public string id { get; set; }
//public List syllabus { get; set; }
///
/// 资源内容
///
public List resource { get; set; }
///
/// 题目
///
public List item { get; set; }
///
/// 名称
///
public string name { get; set; }
[PartitionKey]
public string scopeCode { get; set; }
public string subjectCode { get; set; }
}
}