School.cs 590 B

1234567891011121314151617181920212223
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using TEAMModelOS.SDK.Context.Attributes.Azure;
  5. namespace TEAMModelOS.Service.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. public string schoolCode { get; set; }
  16. [PartitionKey]
  17. public string areaCode { get; set; }
  18. public string schoolName { get; set; }
  19. public List<Period> period { get; set; }
  20. }
  21. }