StuList.cs 760 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace TEAMModelOS.SDK.Models.Cosmos.Common
  5. {
  6. public class StuList : CosmosEntity
  7. {
  8. public StuList()
  9. {
  10. pk = "StuList";
  11. }
  12. public List<Students> students { get; set; } = new List<Students>();
  13. public List<string> tmids { get; set; }
  14. public CourseInfo course { get; set; } = new CourseInfo();
  15. public string name { get; set; }
  16. }
  17. public class Students
  18. {
  19. public string id { get; set; }
  20. public string code { get; set; }
  21. public string schoolId { get; set; }
  22. }
  23. public class CourseInfo
  24. {
  25. public string id { get; set; }
  26. public string code { get; set; }
  27. }
  28. }