School.cs 541 B

12345678910111213141516171819202122
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using TEAMModelOS.SDK.Context.Attributes.Azure;
  5. namespace TEAMModelOS.API.Models.Core
  6. {
  7. public class School
  8. {
  9. public School()
  10. {
  11. period = new List<Period>();
  12. }
  13. [JsonProperty(PropertyName = "id")]
  14. public string id { get; set; }
  15. [PartitionKey]
  16. public string schoolCode { get; set; }
  17. public string schoolName { get; set; }
  18. public List<Period> period { get; set; }
  19. }
  20. }