hjBillTaskHistory.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.hj
  6. {
  7. [Tenant("hj")]
  8. [SugarTable("bill_task_history", "历史任务表")]
  9. public class hjBillTaskHistory : BaseModel
  10. {
  11. /// <summary>
  12. /// 任务号
  13. /// </summary>
  14. [SugarColumn(ColumnName = "task_code")]
  15. public int TaskCode { get; set; }
  16. /// <summary>
  17. /// 任务类型
  18. /// </summary>
  19. [SugarColumn(ColumnName = "task_type")]
  20. public int TaskType { get; set; }
  21. /// <summary>
  22. /// 任务状态
  23. /// </summary>
  24. [SugarColumn(ColumnName = "task_state")]
  25. public int TaskState { get; set; }
  26. /// <summary>
  27. /// 优先级
  28. /// </summary>
  29. [SugarColumn(ColumnName = "priority", IsNullable = true)]
  30. public int Priority { get; set; }
  31. /// <summary>
  32. /// 设备编号
  33. /// </summary>
  34. [SugarColumn(ColumnName = "equ_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  35. public string EquNo { get; set; }
  36. /// <summary>
  37. /// 堆垛机编号
  38. /// </summary>
  39. [SugarColumn(ColumnName = "srm_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  40. public string SrmNo { get; set; }
  41. /// <summary>
  42. /// 起始位置
  43. /// </summary>
  44. [SugarColumn(ColumnName = "start_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  45. public string StartPoint { get; set; }
  46. /// <summary>
  47. /// 当前位置
  48. /// </summary>
  49. [SugarColumn(ColumnName = "cur_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  50. public string CurPoint { get; set; }
  51. /// <summary>
  52. /// 下个位置
  53. /// </summary>
  54. [SugarColumn(ColumnName = "next_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  55. public string NextPoint { get; set; }
  56. /// <summary>
  57. /// 目标位置
  58. /// </summary>
  59. [SugarColumn(ColumnName = "end_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  60. public string EndPoint { get; set; }
  61. /// <summary>
  62. /// 容器id
  63. /// </summary>
  64. [SugarColumn(ColumnName = "stock_id")]
  65. public long ContGrpId { get; set; }
  66. /// <summary>
  67. /// 容器条码(盘条码,合金:RFID,分拣:托盘号)
  68. /// </summary>
  69. [SugarColumn(ColumnName = "cont_grp_barcode", ColumnDataType = "nvarchar", Length = 100)]
  70. public string ContGrpBarCode { get; set; }
  71. /// <summary>
  72. /// 巷道
  73. /// </summary>
  74. [SugarColumn(ColumnName = "tunnel", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  75. public string Tunnel { get; set; }
  76. /// <summary>
  77. /// 仓库
  78. /// </summary>
  79. [SugarColumn(ColumnName = "ware_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  80. public string WareCode { get; set; }
  81. /// <summary>
  82. /// 数量
  83. /// </summary>
  84. [SugarColumn(ColumnName = "qty", Length = 18, DecimalDigits = 6)]
  85. public decimal Qty { get; set; }
  86. /// <summary>
  87. /// 单据号
  88. /// </summary>
  89. [SugarColumn(ColumnName = "doc_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  90. public string DocCode { get; set; }
  91. /// <summary>
  92. /// 业务类型
  93. /// </summary>
  94. [SugarColumn(ColumnName = "bus_type", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  95. public string BusType { get; set; }
  96. /// <summary>
  97. /// 是否手动任务
  98. /// </summary>
  99. [SugarColumn(ColumnName = "is_manual", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  100. public string IsManual { get; set; }
  101. /// <summary>
  102. /// 是否空盘任务
  103. /// </summary>
  104. [SugarColumn(ColumnName = "is_empty", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
  105. public string IsEmpty { get; set; }
  106. }
  107. }