ProductDesignBom.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace Admin.NET.Plugin.AiDOP.Order;
  2. /// <summary>浜у搧璁捐鏍囧噯 BOM 鏄庣粏</summary>
  3. [SugarTable("ado_product_design_bom", "浜у搧璁捐BOM鏄庣粏")]
  4. public class ProductDesignBom
  5. {
  6. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
  7. public long Id { get; set; }
  8. [SugarColumn(ColumnName = "ProductDesignId")]
  9. public long ProductDesignId { get; set; }
  10. /// <summary>鐖剁骇 BOM 琛?Id锛宯ull 琛ㄧず鏍硅妭鐐?/summary>
  11. [SugarColumn(ColumnName = "ParentBomId", IsNullable = true)]
  12. public long? ParentBomId { get; set; }
  13. [SugarColumn(ColumnName = "Seq", IsNullable = true)]
  14. public int? Seq { get; set; }
  15. [SugarColumn(ColumnName = "ItemNum", Length = 64, IsNullable = true)]
  16. public string? ItemNum { get; set; }
  17. [SugarColumn(ColumnName = "ItemName", Length = 256, IsNullable = true)]
  18. public string? ItemName { get; set; }
  19. [SugarColumn(ColumnName = "ProcessCode", Length = 64, IsNullable = true)]
  20. public string? ProcessCode { get; set; }
  21. [SugarColumn(ColumnName = "Qty", IsNullable = true)]
  22. public decimal? Qty { get; set; }
  23. [SugarColumn(ColumnName = "FixedLossQty", IsNullable = true)]
  24. public decimal? FixedLossQty { get; set; }
  25. [SugarColumn(ColumnName = "BatchNo", Length = 64, IsNullable = true)]
  26. public string? BatchNo { get; set; }
  27. /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
  28. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  29. public long? TenantId { get; set; }
  30. }