BillPushinfoHty.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.sx
  6. {
  7. /// <summary>
  8. /// 甲方管理系统推送反馈
  9. /// </summary>
  10. [Tenant("sx")]
  11. [SugarTable(nameof(BillPushinfoHty) + "_{year}{month}{day}", "推送表")]
  12. [SplitTable(SplitType.Month)]//按年分表 (自带分表支持 年、季、月、周、日)
  13. public class BillPushinfoHty : BaseModel
  14. {
  15. /// <summary>
  16. /// DocsNo
  17. /// </summary>
  18. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  19. public string DocsNo { get; set; }
  20. /// <summary>
  21. /// TypeCode
  22. /// </summary>
  23. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  24. public string TypeCode { get; set; }
  25. /// <summary>
  26. /// RFIDBarCode
  27. /// </summary>
  28. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  29. public string RFIDBarCode { get; set; }
  30. /// <summary>
  31. /// RodBarCode
  32. /// </summary>
  33. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  34. public string RodBarCode { get; set; }
  35. /// <summary>
  36. /// HWBarCode
  37. /// </summary>
  38. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  39. public string HWBarCode { get; set; }
  40. /// <summary>
  41. /// CLBarCode
  42. /// </summary>
  43. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  44. public string CLBarCode { get; set; }
  45. /// <summary>
  46. /// WarehouseId
  47. /// </summary>
  48. [SugarColumn(ColumnDataType = "bigint", IsNullable = true)]
  49. public long? WarehouseId { get; set; }
  50. /// <summary>
  51. /// WarehouseCode
  52. /// </summary>
  53. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  54. public string WarehouseCode { get; set; }
  55. /// <summary>
  56. /// WareCellId
  57. /// </summary>
  58. [SugarColumn(ColumnDataType = "bigint", IsNullable = true)]
  59. public long? WareCellId { get; set; }
  60. /// <summary>
  61. /// WareCellCode
  62. /// </summary>
  63. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  64. public string WareCellCode { get; set; }
  65. /// <summary>
  66. /// BoilerNo
  67. /// </summary>
  68. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  69. public string BoilerNo { get; set; }
  70. /// <summary>
  71. /// PackNo
  72. /// </summary>
  73. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  74. public string PackNo { get; set; }
  75. /// <summary>
  76. /// BatchNo
  77. /// </summary>
  78. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  79. public string BatchNo { get; set; }
  80. /// <summary>
  81. /// ResStateCode
  82. /// </summary>
  83. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  84. public string ResStateCode { get; set; }
  85. /// <summary>
  86. /// ResDesc
  87. /// </summary>
  88. [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
  89. public string ResDesc { get; set; }
  90. /// <summary>
  91. /// MatId
  92. /// </summary>
  93. [SugarColumn(ColumnDataType = "bigint", IsNullable = true)]
  94. public long? MatId { get; set; }
  95. /// <summary>
  96. /// MatCode
  97. /// </summary>
  98. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  99. public string MatCode { get; set; }
  100. /// <summary>
  101. /// MatName
  102. /// </summary>
  103. [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
  104. public string MatName { get; set; }
  105. /// <summary>
  106. /// TolWQty
  107. /// </summary>
  108. [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
  109. public decimal TolWQty { get; set; }
  110. /// <summary>
  111. /// NetWQty
  112. /// </summary>
  113. [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
  114. public decimal NetWQty { get; set; }
  115. /// <summary>
  116. /// TareWQty
  117. /// </summary>
  118. [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
  119. public decimal TareWQty { get; set; }
  120. /// <summary>
  121. /// ReqNo
  122. /// </summary>
  123. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  124. public string ReqNo { get; set; }
  125. /// <summary>
  126. /// ReqGrpNo
  127. /// </summary>
  128. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  129. public string ReqGrpNo { get; set; }
  130. /// <summary>
  131. /// PostQty
  132. /// </summary>
  133. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  134. public int PostQty { get; set; }
  135. /// <summary>
  136. /// PostResult
  137. /// </summary>
  138. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  139. public int PostResult { get; set; }
  140. }
  141. }