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

8 months ago
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.Text.Json.Serialization;
  4. namespace Mirle.Component.Database.Model.WES
  5. {
  6. /// <summary>
  7. /// 倉庫基本資料類別
  8. /// </summary>
  9. [Table("CFG_WAREHOUSE")]
  10. public class CfgWarehouseDto : CommonDto
  11. {
  12. /// <summary>
  13. /// 倉庫編號
  14. /// </summary>
  15. /// <remarks>WHS[Sequence * 5]</remarks>
  16. [Column(Name = "WAREHOUSE_ID")]
  17. [Required, Key, StringLength(5), JsonPropertyName("WAREHOUSE_ID"), JsonPropertyOrder(1)]
  18. public string WAREHOUSE_ID { get; set; }
  19. /// <summary>
  20. /// 倉庫名稱
  21. /// </summary>
  22. [Column(Name = "WAREHOUSE_NAME")]
  23. [StringLength(30), JsonPropertyName("WAREHOUSE_NAME"), JsonPropertyOrder(2)]
  24. public string WAREHOUSE_NAME { get; set; }
  25. /// <summary>
  26. /// 倉庫敘述
  27. /// </summary>
  28. [Column(Name = "WARESHOUE_DESC")]
  29. [StringLength(50), JsonPropertyName("WARESHOUE_DESC"), JsonPropertyOrder(3)]
  30. public string WARESHOUE_DESC { get; set; }
  31. }
  32. }