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.
33 lines
1.1 KiB
33 lines
1.1 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_WAREHOUSE")]
|
|
public class CfgWarehouseDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 倉庫編號
|
|
/// </summary>
|
|
/// <remarks>WHS[Sequence * 5]</remarks>
|
|
[Column(Name = "WAREHOUSE_ID")]
|
|
[Required, Key, StringLength(5), JsonPropertyName("WAREHOUSE_ID"), JsonPropertyOrder(1)]
|
|
public string WAREHOUSE_ID { get; set; }
|
|
/// <summary>
|
|
/// 倉庫名稱
|
|
/// </summary>
|
|
[Column(Name = "WAREHOUSE_NAME")]
|
|
[StringLength(30), JsonPropertyName("WAREHOUSE_NAME"), JsonPropertyOrder(2)]
|
|
public string WAREHOUSE_NAME { get; set; }
|
|
/// <summary>
|
|
/// 倉庫敘述
|
|
/// </summary>
|
|
[Column(Name = "WARESHOUE_DESC")]
|
|
[StringLength(50), JsonPropertyName("WARESHOUE_DESC"), JsonPropertyOrder(3)]
|
|
public string WARESHOUE_DESC { get; set; }
|
|
}
|
|
}
|