You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

38 lines
1.2 KiB

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