BaseWarecell.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using WMS.BZModels;
  8. namespace wms.sqlsugar.model.pt
  9. {
  10. [Tenant("pt")]
  11. [SugarTable("Base_WareCell")]
  12. public class BaseWarecell : BaseModel
  13. {
  14. /// <summary>
  15. /// WarehouseId
  16. /// </summary>
  17. [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
  18. public long WarehouseId { get; set; }
  19. /// <summary>
  20. /// WarehouseCode
  21. /// </summary>
  22. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  23. public string WarehouseCode { get; set; }
  24. /// <summary>
  25. /// WareAreaId
  26. /// </summary>
  27. [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
  28. public long WareAreaId { get; set; }
  29. /// <summary>
  30. /// IsStop
  31. /// </summary>
  32. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  33. public int IsStop { get; set; }
  34. /// <summary>
  35. /// Code
  36. /// </summary>
  37. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  38. public string Code { get; set; }
  39. /// <summary>
  40. /// Name
  41. /// </summary>
  42. [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)]
  43. public string Name { get; set; }
  44. /// <summary>
  45. /// StateNum
  46. /// </summary>
  47. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  48. public int StateNum { get; set; }
  49. /// <summary>
  50. /// TypeNum
  51. /// </summary>
  52. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  53. public int TypeNum { get; set; }
  54. /// <summary>
  55. /// Size
  56. /// </summary>
  57. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  58. public int Size { get; set; }
  59. /// <summary>
  60. /// Row
  61. /// </summary>
  62. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  63. public int Row { get; set; }
  64. /// <summary>
  65. /// Col
  66. /// </summary>
  67. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  68. public int Col { get; set; }
  69. /// <summary>
  70. /// Layer
  71. /// </summary>
  72. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  73. public int Layer { get; set; }
  74. /// <summary>
  75. /// Depth
  76. /// </summary>
  77. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  78. public int Depth { get; set; }
  79. /// <summary>
  80. /// Tunnel
  81. /// </summary>
  82. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  83. public int Tunnel { get; set; }
  84. /// <summary>
  85. /// SCRel
  86. /// </summary>
  87. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  88. public string SCRel { get; set; }
  89. /// <summary>
  90. /// ContGrpId
  91. /// </summary>
  92. [SugarColumn(ColumnDataType = "bigint", IsNullable = true)]
  93. public long? ContGrpId { get; set; }
  94. /// <summary>
  95. /// ContGrpBarCode
  96. /// </summary>
  97. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  98. public string ContGrpBarCode { get; set; }
  99. /// <summary>
  100. /// Shelf
  101. /// </summary>
  102. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  103. public string Shelf { get; set; }
  104. /// <summary>
  105. /// Sort
  106. /// </summary>
  107. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  108. public int Sort { get; set; }
  109. }
  110. }