SeOrderEntry.cs 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>
  3. /// 閿€鍞鍗曟槑缁嗚〃锛坈rm_seorderentry锛?/// </summary>
  4. [SugarTable("crm_seorderentry", "閿€鍞鍗曟槑缁嗚〃")]
  5. public class SeOrderEntry
  6. {
  7. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  8. public long Id { get; set; }
  9. [SugarColumn(ColumnName = "seorder_id")]
  10. public long SeOrderId { get; set; }
  11. [SugarColumn(ColumnName = "bill_no", Length = 64)]
  12. public string? BillNo { get; set; }
  13. [SugarColumn(ColumnName = "entry_seq")]
  14. public int? EntrySeq { get; set; }
  15. [SugarColumn(ColumnName = "map_number", Length = 255)]
  16. public string? MapNumber { get; set; }
  17. [SugarColumn(ColumnName = "map_name", Length = 255)]
  18. public string? MapName { get; set; }
  19. [SugarColumn(ColumnName = "item_number", Length = 64)]
  20. public string? ItemNumber { get; set; }
  21. [SugarColumn(ColumnName = "fms_number", Length = 255)]
  22. public string? FmsNumber { get; set; }
  23. [SugarColumn(ColumnName = "item_name", Length = 128)]
  24. public string? ItemName { get; set; }
  25. [SugarColumn(ColumnName = "specification", Length = 256)]
  26. public string? Specification { get; set; }
  27. [SugarColumn(ColumnName = "urgent")]
  28. public int? Urgent { get; set; }
  29. [SugarColumn(ColumnName = "bom_number", Length = 255)]
  30. public string? BomNumber { get; set; }
  31. [SugarColumn(ColumnName = "unit", Length = 32)]
  32. public string? Unit { get; set; }
  33. [SugarColumn(ColumnName = "qty")]
  34. public decimal? Qty { get; set; }
  35. [SugarColumn(ColumnName = "price")]
  36. public decimal? Price { get; set; }
  37. [SugarColumn(ColumnName = "tax_price")]
  38. public decimal? TaxPrice { get; set; }
  39. [SugarColumn(ColumnName = "amount")]
  40. public decimal? Amount { get; set; }
  41. [SugarColumn(ColumnName = "tax_rate")]
  42. public decimal? TaxRate { get; set; }
  43. [SugarColumn(ColumnName = "discount_rate")]
  44. public decimal? DiscountRate { get; set; }
  45. [SugarColumn(ColumnName = "discount_amount")]
  46. public decimal? DiscountAmount { get; set; }
  47. [SugarColumn(ColumnName = "aux_price_discount")]
  48. public decimal? AuxPriceDiscount { get; set; }
  49. [SugarColumn(ColumnName = "tax_amtount")]
  50. public decimal? TaxAmtount { get; set; }
  51. [SugarColumn(ColumnName = "total_amount")]
  52. public decimal? TotalAmount { get; set; }
  53. /// <summary>瀹㈡埛瑕佹眰浜ゆ湡</summary>
  54. [SugarColumn(ColumnName = "plan_date")]
  55. public DateTime? PlanDate { get; set; }
  56. /// <summary>鏈€缁堜氦璐ф棩鏈?/summary>
  57. [SugarColumn(ColumnName = "date")]
  58. public DateTime? Date { get; set; }
  59. /// <summary>绯荤粺寤鸿浜ゆ湡锛堜骇鑳斤級</summary>
  60. [SugarColumn(ColumnName = "sys_capacity_date")]
  61. public DateTime? SysCapacityDate { get; set; }
  62. [SugarColumn(ColumnName = "planner_name", Length = 50)]
  63. public string? PlannerName { get; set; }
  64. [SugarColumn(ColumnName = "planner_no", Length = 50)]
  65. public string? PlannerNo { get; set; }
  66. [SugarColumn(ColumnName = "remark", Length = 512)]
  67. public string? Remark { get; set; }
  68. [SugarColumn(ColumnName = "adjust_date")]
  69. public DateTime? AdjustDate { get; set; }
  70. [SugarColumn(ColumnName = "mrp_closed")]
  71. public bool? MrpClosed { get; set; }
  72. [SugarColumn(ColumnName = "op_time")]
  73. public DateTime? OpTime { get; set; }
  74. [SugarColumn(ColumnName = "custom_order_itemno", Length = 80)]
  75. public string? CustomOrderItemno { get; set; }
  76. [SugarColumn(ColumnName = "state")]
  77. public bool? State { get; set; }
  78. [SugarColumn(ColumnName = "rstate")]
  79. public int? RState { get; set; }
  80. [SugarColumn(ColumnName = "soure_bill_no", Length = 50)]
  81. public string? SoureBillNo { get; set; }
  82. [SugarColumn(ColumnName = "custom_order_bill_no", Length = 50)]
  83. public string? CustomOrderBillNo { get; set; }
  84. [SugarColumn(ColumnName = "custom_order_entryid")]
  85. public int? CustomOrderEntryId { get; set; }
  86. /// <summary>0=再评审 1=新建 2=评审 3=确认</summary>
  87. [SugarColumn(ColumnName = "progress")]
  88. public string? Progress { get; set; } = "1";
  89. [SugarColumn(ColumnName = "deliver_notice_count")]
  90. public decimal? DeliverNoticeCount { get; set; }
  91. [SugarColumn(ColumnName = "deliver_count")]
  92. public decimal? DeliverCount { get; set; }
  93. [SugarColumn(ColumnName = "se_reject_reason", Length = 80)]
  94. public string? SeRejectReason { get; set; }
  95. [SugarColumn(ColumnName = "out_stock_type", Length = 50)]
  96. public string? OutStockType { get; set; }
  97. [SugarColumn(ColumnName = "is_checked")]
  98. public bool? IsChecked { get; set; }
  99. [SugarColumn(ColumnName = "sys_material_date")]
  100. public DateTime? SysMaterialDate { get; set; }
  101. [SugarColumn(ColumnName = "contract_no", Length = 50)]
  102. public string? ContractNo { get; set; }
  103. [SugarColumn(ColumnName = "create_dept")]
  104. public long? CreateDept { get; set; }
  105. [SugarColumn(ColumnName = "create_by")]
  106. public long? CreateBy { get; set; }
  107. [SugarColumn(ColumnName = "create_by_name", Length = 50)]
  108. public string? CreateByName { get; set; }
  109. [SugarColumn(ColumnName = "company_id")]
  110. public long? CompanyId { get; set; }
  111. [SugarColumn(ColumnName = "IsDeleted")]
  112. public int IsDeleted { get; set; } = 0;
  113. [SugarColumn(ColumnName = "create_time")]
  114. public DateTime? CreateTime { get; set; }
  115. [SugarColumn(ColumnName = "update_by")]
  116. public long? UpdateBy { get; set; }
  117. [SugarColumn(ColumnName = "update_by_name", Length = 50)]
  118. public string? UpdateByName { get; set; }
  119. [SugarColumn(ColumnName = "update_time")]
  120. public DateTime? UpdateTime { get; set; }
  121. [SugarColumn(ColumnName = "factory_id")]
  122. public long? FactoryId { get; set; }
  123. [SugarColumn(ColumnName = "org_id")]
  124. public long? OrgId { get; set; }
  125. [SugarColumn(ColumnName = "rnumber")]
  126. public int? RNumber { get; set; }
  127. [SugarColumn(ColumnName = "seorderentry_id")]
  128. public long? SeOrderEntryId { get; set; }
  129. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  130. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  131. public long? TenantId { get; set; }
  132. }