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_SOFTWARE")] public class CfgSoftwareDto : CommonDto { /// <summary>
/// 軟體編號
/// </summary>
/// <remarks>[Sofeware Type]C[Floor][Sequence * 2]</remarks>
[Column(Name = "SOFTWARE_ID")] [Required, Key, StringLength(7), JsonPropertyName("SOFTWARE_ID"), JsonPropertyOrder(1)] public string SOFTWARE_ID { get; set; } /// <summary>
/// 軟體類別
/// </summary>
/// <value>
/// AGV <br/>
/// SHT <br/>
/// PLC <br/>
/// </value>
[Column(Name = "SOFTWARE_TYPE")] [Required, StringLength(3), JsonPropertyName("SOFTWARE_TYPE"), JsonPropertyOrder(2)] public string SOFTWARE_TYPE { get; set; } /// <summary>
/// 軟體名稱
/// </summary>
[Column(Name = "SOFTWARE_NAME")] [StringLength(30), JsonPropertyName("SOFTWARE_NAME"), JsonPropertyOrder(3)] public string SOFTWARE_NAME { get; set; } /// <summary>
/// 軟體敘述
/// </summary>
[Column(Name = "SOFTWARE_DESC")] [StringLength(50), JsonPropertyName("SOFTWARE_DESC"), JsonPropertyOrder(4)] public string SOFTWARE_DESC { get; set; } /// <summary>
/// 軟體網路位址
/// </summary>
/// <remarks>127.0.0.1</remarks>
[Column(Name = "SOFTWARE_ADDRESS")] [Required, StringLength(15), JsonPropertyName("SOFTWARE_ADDRESS"), JsonPropertyOrder(5)] public string SOFTWARE_ADDRESS { get; set; } /// <summary>
/// 軟體通訊埠口
/// </summary>
/// <remarks>8080</remarks>
[Column(Name = "SOFTWARE_PORT")] [Required, JsonPropertyName("SOFTWARE_PORT"), JsonPropertyOrder(6)] public int SOFTWARE_PORT { get; set; } } }
|