using Microsoft.Azure.Cosmos.Table;
using Newtonsoft.Json;
using System.Text.Json.Serialization;
using TEAMModelOS.SDK.Context.Attributes.Azure;

namespace TEAMModelOS.SDK.Models
{
    /// <summary>
    /// 權限總表
    /// </summary>
    [TableName(Name = "SchoolSetting")]
    public class Authority : TableEntity
    {
        public Authority() { }
        public Authority(string id)
        {
            this.PartitionKey = "authority";
            this.RowKey = id;
        }
        public string Mode { get; set; }
        public string Category { get; set; }
        public string Path { get; set; }
        public string Discription { get; set; }
        public bool Root { get; set; }
    }
}
