ProductDesignBom.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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,null 表示根节点</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. }