SchoolSetting.cs 649 B

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