ItemCond.cs 826 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace TEAMModelOS.SDK.Models
  5. {
  6. /// <summary>
  7. /// 题目集合
  8. /// </summary>
  9. public class ItemCond : CosmosEntity
  10. {
  11. public ItemCond() {
  12. pk = "ItemCond";
  13. }
  14. //key 学段id-科目id
  15. public Dictionary<string, List<CondCount>> conds { get; set; } = new Dictionary<string, List<CondCount>>();
  16. }
  17. public class CondCount {
  18. public KeyValuePair<string, int> grade { get; set; } = new KeyValuePair<string, int>();
  19. public Dictionary<string, int> type { get; set; } = new Dictionary<string, int>();
  20. public Dictionary<int, int> level { get; set; } = new Dictionary<int, int>();
  21. public Dictionary<int, int> field { get; set; } = new Dictionary<int, int>();
  22. }
  23. }