SchoolSetting.cs 717 B

1234567891011121314151617181920212223242526
  1. using Microsoft.Azure.Cosmos.Table;
  2. using Newtonsoft.Json;
  3. using System.Text.Json.Serialization;
  4. using TEAMModelOS.SDK.Context.Attributes.Azure;
  5. namespace TEAMModelOS.Models.SchoolInfo
  6. {
  7. /// <summary>
  8. /// 權限總表
  9. /// </summary>
  10. [TableName(Name = "SchoolSetting")]
  11. public class Authority : TableEntity
  12. {
  13. public Authority() { }
  14. public Authority(string id)
  15. {
  16. this.PartitionKey = "authority";
  17. this.RowKey = id;
  18. }
  19. public string Mode { get; set; }
  20. public string Category { get; set; }
  21. public string Path { get; set; }
  22. public string Discription { get; set; }
  23. public bool Root { get; set; }
  24. }
  25. }