Classroom.cs 972 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.Service.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 classroomName { get; set; }
  21. public string headMaster { get; set; }
  22. public string periodCode { get; set; }
  23. public string gradeCode { get; set; }
  24. public string hiteach { get; set; }
  25. public int studentCount { 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. }