using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TEAMModelOS.SDK.Models
{
///
/// Teaching materials 教学材料 题目信息
///
public class ItemInfo :BaseItem
{
public ItemInfo()
{
pk = "Item";
children = new List();
option = new List();
answer = new List();
knowledge = new List();
gradeIds = new List();
repair = new List();
}
//题干
[Required(ErrorMessage = "{0} 必须填写")]
public string question { get; set; }
// 选项 单选 多选 判断
public List option { get; set; }= new List();
public List children { get; set; }= new List();
//使用次数
public int useCount { get; set; }
public string blob { get; set; }
//记录试题大小
public long? size { get; set; } = 0;
}
public class MoofenItemInfo : ItemInfo {
public string subject { get; set; }
public string gradeName { get; set;}
public string grade { get; set; }
public string description { get; set; }
public new List children { get; set; }=new List();
public new List option { get; set; } = new List();
}
}