PurOrdRctDetail.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. namespace Admin.NET.Plugin.AiDOP.ProcurementExecution.Entity;
  2. /// <summary>
  3. /// PurOrdRctDetail(aidopdev 采购收货/退货明细)
  4. /// </summary>
  5. [SugarTable("PurOrdRctDetail")]
  6. public class PurOrdRctDetail
  7. {
  8. [SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = false)]
  9. public int RecID { get; set; }
  10. [SugarColumn(ColumnName = "Domain", Length = 24, IsNullable = true)]
  11. public string Domain { get; set; }
  12. [SugarColumn(ColumnName = "RctType", Length = 8, IsNullable = false)]
  13. public string RctType { get; set; }
  14. [SugarColumn(ColumnName = "Receiver", Length = 24, IsNullable = false)]
  15. public string Receiver { get; set; }
  16. [SugarColumn(ColumnName = "Line")]
  17. public short Line { get; set; }
  18. [SugarColumn(ColumnName = "ItemNum", Length = 60, IsNullable = true)]
  19. public string ItemNum { get; set; }
  20. [SugarColumn(ColumnName = "Dimension1", Length = 8, IsNullable = false)]
  21. public string Dimension1 { get; set; }
  22. [SugarColumn(ColumnName = "Dimension2", Length = 8, IsNullable = false)]
  23. public string Dimension2 { get; set; }
  24. [SugarColumn(ColumnName = "OrdNbr", Length = 24, IsNullable = false)]
  25. public string OrdNbr { get; set; }
  26. [SugarColumn(ColumnName = "RctDate", IsNullable = true)]
  27. public DateTime? RctDate { get; set; }
  28. [SugarColumn(ColumnName = "POCost", ColumnDataType = "decimal(15,6)")]
  29. public decimal POCost { get; set; }
  30. [SugarColumn(ColumnName = "UM", Length = 8, IsNullable = true)]
  31. public string UM { get; set; }
  32. [SugarColumn(ColumnName = "PerformDate", IsNullable = true)]
  33. public DateTime? PerformDate { get; set; }
  34. [SugarColumn(ColumnName = "QtyOrded", ColumnDataType = "decimal(15,5)")]
  35. public decimal QtyOrded { get; set; }
  36. [SugarColumn(ColumnName = "RctQty", ColumnDataType = "decimal(15,5)")]
  37. public decimal RctQty { get; set; }
  38. [SugarColumn(ColumnName = "Site", Length = 24, IsNullable = true)]
  39. public string Site { get; set; }
  40. [SugarColumn(ColumnName = "Supp", Length = 20, IsNullable = true)]
  41. public string Supp { get; set; }
  42. [SugarColumn(ColumnName = "Location", Length = 8, IsNullable = false)]
  43. public string Location { get; set; }
  44. [SugarColumn(ColumnName = "LotSerial", Length = 120, IsNullable = true)]
  45. public string LotSerial { get; set; }
  46. [SugarColumn(ColumnName = "Refs", Length = 8, IsNullable = true)]
  47. public string Refs { get; set; }
  48. [SugarColumn(ColumnName = "QtyReceived", ColumnDataType = "decimal(15,5)")]
  49. public decimal QtyReceived { get; set; }
  50. [SugarColumn(ColumnName = "Potype", Length = 8, IsNullable = false)]
  51. public string Potype { get; set; }
  52. [SugarColumn(ColumnName = "BusinessID")]
  53. public long BusinessID { get; set; }
  54. [SugarColumn(ColumnName = "CreateUser", Length = 24, IsNullable = true)]
  55. public string CreateUser { get; set; }
  56. [SugarColumn(ColumnName = "UpdateUser", Length = 24, IsNullable = true)]
  57. public string UpdateUser { get; set; }
  58. [SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
  59. public DateTime? CreateTime { get; set; }
  60. [SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
  61. public DateTime? UpdateTime { get; set; }
  62. [SugarColumn(ColumnName = "IsActive", ColumnDataType = "bit(1)")]
  63. public bool IsActive { get; set; }
  64. [SugarColumn(ColumnName = "IsConfirm", ColumnDataType = "bit(1)")]
  65. public bool IsConfirm { get; set; }
  66. [SugarColumn(ColumnName = "Typed", Length = 4, IsNullable = true)]
  67. public string Typed { get; set; }
  68. [SugarColumn(ColumnName = "QC", Length = 8, IsNullable = true)]
  69. public string QC { get; set; }
  70. [SugarColumn(ColumnName = "QCDescr", ColumnDataType = "text", IsNullable = true)]
  71. public string QCDescr { get; set; }
  72. [SugarColumn(ColumnName = "QCDate", IsNullable = true)]
  73. public DateTime? QCDate { get; set; }
  74. [SugarColumn(ColumnName = "Remark", Length = 200, IsNullable = true)]
  75. public string Remark { get; set; }
  76. [SugarColumn(ColumnName = "IsChanged", ColumnDataType = "bit(1)")]
  77. public bool IsChanged { get; set; }
  78. [SugarColumn(ColumnName = "TaxClass", Length = 20, IsNullable = true)]
  79. public string TaxClass { get; set; }
  80. [SugarColumn(ColumnName = "TaxIn", ColumnDataType = "bit(1)")]
  81. public bool TaxIn { get; set; }
  82. [SugarColumn(ColumnName = "UMConversion", ColumnDataType = "decimal(12,7)")]
  83. public decimal UMConversion { get; set; }
  84. [SugarColumn(ColumnName = "Curr", Length = 3, IsNullable = true)]
  85. public string Curr { get; set; }
  86. [SugarColumn(ColumnName = "IsClosed", ColumnDataType = "bit(1)")]
  87. public bool IsClosed { get; set; }
  88. [SugarColumn(ColumnName = "Delivery", Length = 30, IsNullable = true)]
  89. public string Delivery { get; set; }
  90. [SugarColumn(ColumnName = "InvShelf", Length = 24, IsNullable = true)]
  91. public string InvShelf { get; set; }
  92. [SugarColumn(ColumnName = "EffTime", IsNullable = true)]
  93. public DateTime? EffTime { get; set; }
  94. [SugarColumn(ColumnName = "OrdLine")]
  95. public short OrdLine { get; set; }
  96. [SugarColumn(ColumnName = "QCNbr", Length = 60, IsNullable = true)]
  97. public string QCNbr { get; set; }
  98. [SugarColumn(ColumnName = "StatusByQC", Length = 12, IsNullable = true)]
  99. public string StatusByQC { get; set; }
  100. [SugarColumn(ColumnName = "IsRounding", ColumnDataType = "bit(1)")]
  101. public bool IsRounding { get; set; }
  102. [SugarColumn(ColumnName = "CustPO", Length = 100, IsNullable = true)]
  103. public string CustPO { get; set; }
  104. [SugarColumn(ColumnName = "BarCode", Length = 80, IsNullable = true)]
  105. public string BarCode { get; set; }
  106. [SugarColumn(ColumnName = "BlanketLine")]
  107. public int BlanketLine { get; set; }
  108. [SugarColumn(ColumnName = "ProjectLine")]
  109. public int ProjectLine { get; set; }
  110. [SugarColumn(ColumnName = "RctNbr", Length = 30, IsNullable = true)]
  111. public string RctNbr { get; set; }
  112. [SugarColumn(ColumnName = "RctLine")]
  113. public short RctLine { get; set; }
  114. [SugarColumn(ColumnName = "QtyReturn", ColumnDataType = "decimal(15,5)")]
  115. public decimal QtyReturn { get; set; }
  116. [SugarColumn(ColumnName = "PurOrdRctRecID")]
  117. public long PurOrdRctRecID { get; set; }
  118. [SugarColumn(ColumnName = "QcQty", ColumnDataType = "decimal(18,5)")]
  119. public decimal QcQty { get; set; }
  120. [SugarColumn(ColumnName = "ERPfld1", Length = 200, IsNullable = true)]
  121. public string ERPfld1 { get; set; }
  122. [SugarColumn(ColumnName = "ERPfld2", Length = 200, IsNullable = true)]
  123. public string ERPfld2 { get; set; }
  124. }