TeacherCourse.cs 883 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace TEAMModelOS.SDK.Models
  6. {
  7. public class TeacherCourse :CosmosEntity
  8. {
  9. public TeacherCourse() {
  10. }
  11. public string name { get; set; }
  12. public string scope { get; set; }
  13. public string notice { get; set; }
  14. public string subjectId { get; set; }
  15. public string periodId { get; set; }
  16. public List<ClassSimple> classes { get; set; } = new List<ClassSimple>();
  17. }
  18. public class ClassSimple {
  19. public string id { get; set; }
  20. public string name { get; set; }
  21. public string scope { get; set; }
  22. public string code { get; set; }
  23. public Teachers teacher { get; set; }
  24. //public List<StudentSimple> students { get; set; } = new List<StudentSimple>();
  25. }
  26. }