using System;
using System.Collections.Generic;
using System.Text;
namespace TEAMModelOS.SDK.Models
{
///
/// 题目数量统计
///
public class ItemCond : CosmosEntity
{
public ItemCond()
{
pk = "ItemCond";
}
public int count { get; set; }
public List grades { get; set; } = new List();
public List subjects { get; set; } = new List();
//key 学段id-科目id
// public Dictionary> subjects { get; set; } = new Dictionary>();
}
//public class CondCount {
// public KeyValuePair grade { get; set; } = new KeyValuePair();
// public Dictionary type { get; set; } = new Dictionary();
// public Dictionary level { get; set; } = new Dictionary();
// public Dictionary field { get; set; } = new Dictionary();
//}
public class SubjectCount
{
public string id { get; set; }
public int count { get; set; }
public Dictionary>> types { get; set; } = new Dictionary>>()
{
{
"compose",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"single",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"multiple",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"sortmultiple",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"judge",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"complete",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"subjective",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"connector",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
},
{
"correct",new Dictionary>
{
{
"level",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }
}
},
{
"field",new Dictionary
{
{ "1",0},{ "2",0}, { "3", 0 }, { "4", 0 }, { "5", 0 }, { "6", 0 }
}
}
}
}
};
}
public class GradeCount
{
public string id { get; set; }
public int count { get; set; }
}
}