ReportResponse.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Text;
  5. namespace wms.dto.request.hj.dto
  6. {
  7. /// <summary>
  8. /// 报表反馈
  9. /// </summary>
  10. public class ReportResponse
  11. {
  12. /// <summary>
  13. /// 物料出入报表
  14. /// </summary>
  15. public class MaterReportResponse
  16. {
  17. [Description("容器ID")]
  18. public string RFID { get; set; }
  19. [Description("容器条码")]
  20. public string ContGrpBarCode { get; set; }
  21. [Description("操作状态")]
  22. public string ExecState { get; set; }
  23. [Description("执行单据号")]
  24. public string ExecDocsNo { get; set; }
  25. [Description("执行单据行号")]
  26. public string ExecDocsRowNo { get; set; }
  27. [Description("客户编码")]
  28. public string CustNo { get; set; }
  29. [Description("客户名称")]
  30. public string CustName { get; set; }
  31. [Description("摆放行")]
  32. public int PutRow { get; set; }
  33. [Description("摆放列")]
  34. public int PutCol { get; set; }
  35. [Description("摆放层")]
  36. public int PutLayer { get; set; }
  37. [Description("摆放位置编号")]
  38. public string PutLocNo { get; set; }
  39. [Description("材料号")]
  40. public string InvBarCode { get; set; }
  41. [Description("库存状态")]
  42. public string InvState { get; set; }
  43. [Description("入库单据号")]
  44. public string InDocsNo { get; set; }
  45. [Description("入库单据行号")]
  46. public string InDocsRowNo { get; set; }
  47. [Description("供应商编码")]
  48. public string SuppCode { get; set; }
  49. [Description("供应商名称")]
  50. public string SuppName { get; set; }
  51. [Description("仓库ID")]
  52. public long WareHouseId { get; set; }
  53. [Description("仓库名称")]
  54. public string WareHouseName { get; set; }
  55. [Description("物料ID")]
  56. public long MatId { get; set; }
  57. [Description("总重量")]
  58. public decimal TotalWtQty { get; set; }
  59. [Description("净重")]
  60. public decimal NetWQty { get; set; }
  61. [Description("皮重")]
  62. public decimal TareWQty { get; set; }
  63. [Description("长度")]
  64. public decimal LengthQty { get; set; }
  65. [Description("生产批号")]
  66. public string BatchNo { get; set; }
  67. [Description("生产时间")]
  68. public DateTime ProductTime { get; set; }
  69. [Description("第一次入库时间")]
  70. public DateTime OneInTime { get; set; }
  71. [Description("RFID条码")]
  72. public string RFIDBarCode { get; set; }
  73. [Description("工字轮规格")]
  74. public string HWSpec { get; set; }
  75. [Description("改手盘标记")]
  76. public bool IsSurplus { get; set; }
  77. [Description("返工标记")]
  78. public bool IsRework { get; set; }
  79. [Description("快投标记")]
  80. public bool IsFast { get; set; }
  81. [Description("是否异常")]
  82. public bool IsFail { get; set; }
  83. [Description("异常原因")]
  84. public string FailReason { get; set; }
  85. [Description("等级")]
  86. public string Grade { get; set; }
  87. [Description("是否退料")]
  88. public bool IsBack { get; set; }
  89. [Description("退料原因")]
  90. public string BackReason { get; set; }
  91. [Description("生产机台号")]
  92. public string ProductWbNo { get; set; }
  93. [Description("生产产线号")]
  94. public string ProductLineNo { get; set; }
  95. [Description("备注")]
  96. public string Remark { get; set; }
  97. [Description("巷道")]
  98. public string Tunnel { get; set; }
  99. [Description("起始地址")]
  100. public string StartPoint { get; set; }
  101. [Description("目标地址")]
  102. public string EndPoint { get; set; }
  103. [Description("任务号")]
  104. public int TaskCode { get; set; }
  105. [Description("任务类型")]
  106. public int TaskType { get; set; }
  107. [Description("任务状态")]
  108. public string TaskState { get; set; }
  109. }
  110. /// <summary>
  111. /// 实时库存报表
  112. /// </summary>
  113. public class RealTimeInventoryReportResponse
  114. {
  115. //[Description("容器类型")]
  116. //public string RFID { get; set; }
  117. [Description("容器条码")]
  118. public string ContGrpBarCode { get; set; }
  119. [Description("客户编码")]
  120. public string CustNo { get; set; }
  121. [Description("客户名称")]
  122. public string CustName { get; set; }
  123. [Description("摆放行")]
  124. public int PutRow { get; set; }
  125. [Description("摆放列")]
  126. public int PutCol { get; set; }
  127. [Description("摆放层")]
  128. public int PutLayer { get; set; }
  129. [Description("摆放位置编号")]
  130. public string PutLocNo { get; set; }
  131. [Description("材料号")]
  132. public string InvBarCode { get; set; }
  133. [Description("库存状态")]
  134. public string InvState { get; set; }
  135. [Description("入库单据号")]
  136. public string InDocsNo { get; set; }
  137. [Description("入库单据行号")]
  138. public string InDocsRowNo { get; set; }
  139. [Description("供应商编码")]
  140. public string SuppCode { get; set; }
  141. [Description("供应商名称")]
  142. public string SuppName { get; set; }
  143. [Description("仓库名称")]
  144. public string WareHouseName { get; set; }
  145. [Description("总重量")]
  146. public decimal TotalWtQty { get; set; }
  147. [Description("净重")]
  148. public decimal NetWQty { get; set; }
  149. [Description("皮重")]
  150. public decimal TareWQty { get; set; }
  151. [Description("长度")]
  152. public decimal LengthQty { get; set; }
  153. [Description("生产批号")]
  154. public string BatchNo { get; set; }
  155. [Description("生产时间")]
  156. public DateTime ProductTime { get; set; }
  157. [Description("第一次入库时间")]
  158. public DateTime OneInTime { get; set; }
  159. [Description("RFID条码")]
  160. public string RFIDBarCode { get; set; }
  161. [Description("工字轮规格")]
  162. public string HWSpec { get; set; }
  163. [Description("改手盘标记")]
  164. public bool IsSurplus { get; set; }
  165. [Description("返工标记")]
  166. public bool IsRework { get; set; }
  167. [Description("快投标记")]
  168. public bool IsFast { get; set; }
  169. [Description("是否异常")]
  170. public bool IsFail { get; set; }
  171. [Description("异常原因")]
  172. public string FailReason { get; set; }
  173. [Description("等级")]
  174. public string Grade { get; set; }
  175. [Description("是否退料")]
  176. public bool IsBack { get; set; }
  177. [Description("退料原因")]
  178. public string BackReason { get; set; }
  179. [Description("备注")]
  180. public string Remark { get; set; }
  181. [Description("巷道")]
  182. public string Tunnel { get; set; }
  183. [Description("物料编码")]
  184. public string MatCode { get; set; }
  185. [Description("单/双丝")]
  186. public string SilkType { get; set; }
  187. [Description("货位号")]
  188. public string Location { get; set; }
  189. [Description("操作状态")]
  190. public string ExecState { get; set; }
  191. [Description("执行单据号")]
  192. public string ExecDocsNo { get; set; }
  193. [Description("执行单据行号")]
  194. public string ExecDocsRowNo { get; set; }
  195. [Description("执行单据类型代码")]
  196. public string ExecDocsTypeCode { get; set; }
  197. [Description("物料名称")]
  198. public string MatName { get; set; }
  199. [Description("货位是否启用")]
  200. public int RowStop { get; set; }
  201. [Description("生产机台号")]
  202. public string ProductWbNo { get; set; }
  203. [Description("生产产线号")]
  204. public string ProductLineNo { get; set; }
  205. [Description("出库状态")]
  206. public string OutStatus { get; set; }
  207. [Description("入库状态")]
  208. public string InStatus { get; set; }
  209. [Description("货位名称")]
  210. public string LocationName { get; set; }
  211. }
  212. /// <summary>
  213. /// 库龄报表
  214. /// </summary>
  215. public class InventoryAgingReportResponse
  216. {
  217. [Description("库龄")]
  218. public decimal Age { get; set; }
  219. [Description("时效时间")]
  220. public decimal HoldDuration { get; set; }
  221. [Description("生产时间")]
  222. public DateTime ProductTime { get; set; }
  223. [Description("第一次入库时间")]
  224. public DateTime OneInTime { get; set; }
  225. [Description("RFID条码")]
  226. public string RFIDBarCode { get; set; }
  227. [Description("工字轮型号")]
  228. public string HWSpec { get; set; }
  229. [Description("物料等级")]
  230. public string Grade { get; set; }
  231. [Description("到期日")]
  232. public DateTime Duedate { get; set; }
  233. [Description("剩余天数")]
  234. public decimal Remaindays { get; set; }
  235. [Description("巷道")]
  236. public string Tunnel { get; set; }
  237. [Description("物料编码")]
  238. public string MatCode { get; set; }
  239. [Description("物料名称")]
  240. public string MatName { get; set; }
  241. }
  242. }
  243. }