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.
54 lines
1.8 KiB
54 lines
1.8 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_STORAGE")]
|
|
public class CfgStorageDto : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 倉庫編號
|
|
/// </summary>
|
|
/// <remarks>WHS[Sequence * 2]</remarks>
|
|
[Column(Name = "WAREHOUSE_ID")]
|
|
[Required, Key, StringLength(5), JsonPropertyName("WAREHOUSE_ID"), JsonPropertyOrder(1)]
|
|
public string WAREHOUSE_ID { get; set; }
|
|
/// <summary>
|
|
/// 儲存區編號
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// STAT[Floor][Sequence * 2] <br/>
|
|
/// AUTO[Floor][Sequence * 2] <br/>
|
|
/// TEMP[Floor][Sequence * 2] <br/>
|
|
/// </remarks>
|
|
[Column(Name = "STORAGE_ID")]
|
|
[Required, Key, StringLength(7), JsonPropertyName("STORAGE_ID"), JsonPropertyOrder(2)]
|
|
public string STORAGE_ID { get; set; }
|
|
/// <summary>
|
|
/// 儲存區名稱
|
|
/// </summary>
|
|
[Column(Name = "STORAGE_NAME")]
|
|
[StringLength(30), JsonPropertyName("STORAGE_NAME"), JsonPropertyOrder(3)]
|
|
public string STORAGE_NAME { get; set; }
|
|
/// <summary>
|
|
/// 儲存區敘述
|
|
/// </summary>
|
|
[Column(Name = "STORAGE_DESC")]
|
|
[StringLength(50), JsonPropertyName("STORAGE_DESC"), JsonPropertyOrder(4)]
|
|
public string STORAGE_DESC { get; set; }
|
|
/// <summary>
|
|
/// 儲存區類別
|
|
/// </summary>
|
|
/// <value>
|
|
/// 0 = Station
|
|
/// 1 = Warehouse
|
|
/// </value>
|
|
[Column(Name = "STORAGE_TYPE")]
|
|
[Required, JsonPropertyName("STORAGE_TYPE"), JsonPropertyOrder(5)]
|
|
public int STORAGE_TYPE { get; set; }
|
|
}
|
|
}
|