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
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_FUNC")]
|
|
public class CfgFuncDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 功能編號
|
|
/// </summary>
|
|
[Column(Name = "FUNC_ID")]
|
|
[Required, Key, JsonPropertyName("FUNC_ID"), JsonPropertyOrder(1)]
|
|
public int FUNC_ID { get; set; }
|
|
/// <summary>
|
|
/// 功能名稱
|
|
/// </summary>
|
|
[Column(Name = "FUNC_NAME")]
|
|
[Required, StringLength(50), JsonPropertyName("FUNC_NAME"), JsonPropertyOrder(2)]
|
|
public string FUNC_NAME { get; set; }
|
|
/// <summary>
|
|
/// 功能網址
|
|
/// </summary>
|
|
[Column(Name = "FUNC_URL")]
|
|
[Required, StringLength(64), JsonPropertyName("FUNC_URL"), JsonPropertyOrder(3)]
|
|
public string FUNC_URL { get; set; }
|
|
/// <summary>
|
|
/// 父功能類別
|
|
/// </summary>
|
|
[Column(Name = "PARENT_FUNC_ID")]
|
|
[Required, JsonPropertyName("PARENT_FUNC_ID"), JsonPropertyOrder(4)]
|
|
public int PARENT_FUNC_ID { get; set; }
|
|
}
|
|
}
|