using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; namespace Mirle.Component.Database.Model.WES { /// /// 系統基本資料類別 /// [Table("CFG_SYSTEM_SETTING")] public class CfgSystemSettingDto { /// /// 功能編號 /// [Column(Name = "FUNC_ID")] [Required, Key, JsonPropertyName("FUNC_ID"), JsonPropertyOrder(1)] public int FUNC_ID { get; set; } /// /// 功能定義 /// [Column(Name = "CFG_KEY")] [Required, Key, StringLength(30), JsonPropertyName("CFG_KEY"), JsonPropertyOrder(2)] public string CFG_KEY { get; set; } /// /// 功能名稱 /// [Column(Name = "CFG_NAME")] [StringLength(50), JsonPropertyName("CFG_NAME"), JsonPropertyOrder(3)] public string CFG_NAME { get; set; } /// /// 閥值 /// [Column(Name = "CFG_VALUE")] [Required, StringLength(10), JsonPropertyName("CFG_VALUE"), JsonPropertyOrder(4)] public string CFG_VALUE { get; set; } } }