using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using TEAMModelOS.SDK.Context.Attributes.Azure;
using TEAMModelOS.SDK.DI;
namespace TEAMModelOS.SDK.Models
{
///
/// Teaching materials 教学材料 题目信息
///
[CosmosDB(Database = "TEAMModelOS", Name = "Common", Cache =true)]
public class ItemInfo :CosmosEntity
{
public ItemInfo()
{
pk = "Item";
children = new List();
option = new List();
answer = new List();
points = new List();
gradeIds = new List();
repairResource = new List();
}
public string shaCode { get; set; }
//题干
[Required(ErrorMessage = "{0} 必须填写")]
public string question { get; set; }
// 选项 单选 多选 判断
public List option { get; set; }
public List answer { get; set; }
//解析
public string explain { get; set; }
///
/// 题型 Single单选,Multiple多选,Judge判断,Complete填空,Subjective问答,Compose综合
///
public string type { get; set; }
///
/// 上级shaCode
///
public string pShaCode { get; set; }
//管理知识点
public List points { get; set; }
//认知层次 应用 综合 理解 评鉴 知识
public int? field { get; set; }
public List children { get; set; }
// 配分
public double score { get; set; }
///
/// 题号
///
public int order { get; set; }
//补救
//public string repair { get; set; }
///
/// 补救资源
///
public List repairResource { get; set; }
public string subjectId { get; set; }
public string periodId { get; set; }
public List gradeIds { get; set; }
///
/// 难度
///
public int level { get; set; }
///
/// 是否综合题的小题
///
public bool lite { get; set; } = false;
//创建时间
public long createTime { get; set; }
//创建者
public string creator { get; set; }
//使用次数
public int useCount { get; set; }
public string examCode { get; set; }
public string blob { get; set; }
public string scope { get; set; }
public string pId { get; set; }
}
}