Comment.cs 818 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Text;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. using TEAMModelOS.SDK.DI;
  7. namespace TEAMModelOS.SDK.Models
  8. {
  9. /// <summary>
  10. /// 教师评语罐头
  11. /// </summary>
  12. public class Comment : CosmosEntity
  13. {
  14. public Comment(){
  15. pk = "Comment";
  16. }
  17. /// <summary>
  18. /// 评语
  19. /// </summary>
  20. public List<Box> boxes { get; set; } = new List<Box>();
  21. }
  22. public class Box {
  23. /// <summary>
  24. /// type="correct" 阅卷批注 "homework" 作业批注 "common": 常用的
  25. /// </summary>
  26. public string type { get; set; }
  27. public List<string> comment { get; set; } = new List<string>();
  28. }
  29. }