using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; namespace Mirle.Component.Database.Model.Warroom.Config { /// /// 功能基本資料類別 /// [Table("cfg_func")] public class CfgFuncDto : CommonDto { /// /// 功能識別碼 /// [Column(Name = "func_uid"), JsonPropertyName("func_id")] [Required, Key] public int FunctionUID { get; set; } /// /// 功能名稱 /// [Column(Name = "func_name"), JsonPropertyName("func_name")] public string FunctionName { get; set; } /// /// 功能網址 /// [Column(Name = "func_url"), JsonPropertyName("func_url")] public string FunctionURL { get; set; } /// /// 功能父類別編號 /// [Column(Name = "parent_func_id"), JsonPropertyName("parent_func_id")] public int ParentFunctionID { get; set; } } }