Classroom.cs 945 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Text.Json.Serialization;
  5. using TEAMModelOS.SDK.Context.Attributes.Azure;
  6. namespace TEAMModelOS.API.Models.Core
  7. {
  8. public class Classroom
  9. {
  10. public Classroom()
  11. {
  12. point = new Point();
  13. }
  14. [JsonPropertyName("id")]
  15. public string Id { get; set; }
  16. [PartitionKey]
  17. public string SchoolCode { get; set; }
  18. public string ClassroomCode { get; set; }
  19. public Point point { get; set; }
  20. public string Name { get; set; }
  21. public string HeadMaster { get; set; }
  22. public string Period { get; set; }
  23. public string Grade { get; set; }
  24. public string HiTeach { get; set; }
  25. public int StuNum { get; set; }
  26. public string ClassroomType { get; set; }
  27. }
  28. }
  29. public class Point
  30. {
  31. public float X { get; set; }
  32. public float Y { get; set; }
  33. }