School.cs 548 B

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