using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; namespace Mirle.Component.Database.Model.WES { /// /// 倉庫基本資料類別 /// [Table("CFG_WAREHOUSE")] public class CfgWarehouseDto : CommonDto { /// /// 倉庫編號 /// /// WHS[Sequence * 5] [Column(Name = "WAREHOUSE_ID")] [Required, Key, StringLength(5), JsonPropertyName("WAREHOUSE_ID"), JsonPropertyOrder(1)] public string WAREHOUSE_ID { get; set; } /// /// 倉庫名稱 /// [Column(Name = "WAREHOUSE_NAME")] [StringLength(30), JsonPropertyName("WAREHOUSE_NAME"), JsonPropertyOrder(2)] public string WAREHOUSE_NAME { get; set; } /// /// 倉庫敘述 /// [Column(Name = "WARESHOUE_DESC")] [StringLength(50), JsonPropertyName("WARESHOUE_DESC"), JsonPropertyOrder(3)] public string WARESHOUE_DESC { get; set; } } }