WCS_PalletizingLayer.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using SqlSugar;
  2. using System.Collections.Generic;
  3. namespace WCS.Entity
  4. {
  5. /// <summary>
  6. /// 码垛层信息表
  7. /// </summary>
  8. [SugarTable(nameof(WCS_PalletizingLayer), "码垛层信息表")]
  9. public class WCS_PalletizingLayer
  10. {
  11. /// <summary>
  12. /// Id
  13. /// </summary>
  14. [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "Id")]
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 码垛主表Id
  18. /// </summary>
  19. [SugarColumn(IsNullable = false, ColumnDescription = "码垛主表Id")]
  20. public int PalletizingId { get; set; }
  21. /// <summary>
  22. /// 是否空置
  23. /// </summary>
  24. [SugarColumn(IsNullable = false, ColumnDescription = "是否空置")]
  25. public bool IsEmpty { get; set; }
  26. /// <summary>
  27. /// 层号
  28. /// </summary>
  29. [SugarColumn(IsNullable = false, ColumnDescription = "层号")]
  30. public int LayerNo { get; set; }
  31. /// <summary>
  32. /// 行数
  33. /// </summary>
  34. [SugarColumn(IsNullable = false, ColumnDescription = "行数")]
  35. public int RowCountQty { get; set; }
  36. /// <summary>
  37. /// 行信息
  38. /// </summary>
  39. [Navigate(NavigateType.OneToMany, nameof(WCS_PalletizingRow.PalletizingLayerId))]
  40. public List<WCS_PalletizingRow> Rows { get; set; }
  41. /// <summary>
  42. /// 当前所有的物料号
  43. /// </summary>
  44. [SugarColumn(IsNullable = true, ColumnDescription = "当前所有的物料号")]
  45. public string MatCodeList { get; set; }
  46. /// <summary>
  47. /// 是否结束
  48. /// </summary>
  49. [SugarColumn(IsNullable = false, ColumnDescription = "是否结束")]
  50. public bool Finish { get; set; }
  51. /// <summary>
  52. /// 仓库编号
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "仓库编号", IsNullable = true)]
  55. public string WarehouseCode { get; set; }
  56. }
  57. }