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.
|
|
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.WES { /// <summary>
/// 路線基本資料類別
/// </summary>
[Table("CFG_ROUTE")] public class CfgRouteDto : CommonDto { /// <summary>
/// 產品類別
/// </summary>
[Column(Name = "PRODUCT_TYPE")] [Required, Key, StringLength(10), JsonPropertyName("PRODUCT_TYPE"), JsonPropertyOrder(1)] public string PRODUCT_TYPE { get; set; } /// <summary>
/// 路線類別
/// </summary>
[Column(Name = "ROUTE_TYPE")] [Required, Key, StringLength(10), JsonPropertyName("ROUTE_TYPE"), JsonPropertyOrder(2)] public string ROUTE_TYPE { get; set; } /// <summary>
/// 起始位置
/// </summary>
[Column(Name = "SOURCE_POSITION")] [Required, Key, StringLength(9), JsonPropertyName("SOURCE_POSITION"), JsonPropertyOrder(3)] public string SOURCE_POSITION { get; set; } /// <summary>
/// 目的位置
/// </summary>
[Column(Name = "DESC_POSITION")] [Required, Key, StringLength(9), JsonPropertyName("DESC_POSITION"), JsonPropertyOrder(4)] public string DESC_POSITION { get; set; } /// <summary>
/// 軟體編號
/// </summary>
[Column(Name = "SOFTWARE_ID")] [Required, StringLength(7), JsonPropertyName("SOFTWARE_ID"), JsonPropertyOrder(5)] public string SOFTWARE_ID { get; set; } /// <summary>
/// 預估時間 (Sesc)
/// </summary>
[Column(Name = "ESTIMATED_TIME")] [JsonPropertyName("ESTIMATED_TIME"), JsonPropertyOrder(6)] public int ESTIMATED_TIME { get; set; } } }
|