namespace Admin.NET.Plugin.AiDOP.Order;
/// 产品设计标准 BOM 明细
[SugarTable("ado_product_design_bom", "产品设计BOM明细")]
public class ProductDesignBom
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
public long Id { get; set; }
[SugarColumn(ColumnName = "ProductDesignId")]
public long ProductDesignId { get; set; }
/// 父级 BOM 行 Id,null 表示根节点
[SugarColumn(ColumnName = "ParentBomId", IsNullable = true)]
public long? ParentBomId { get; set; }
[SugarColumn(ColumnName = "Seq", IsNullable = true)]
public int? Seq { get; set; }
[SugarColumn(ColumnName = "ItemNum", Length = 64, IsNullable = true)]
public string? ItemNum { get; set; }
[SugarColumn(ColumnName = "ItemName", Length = 256, IsNullable = true)]
public string? ItemName { get; set; }
[SugarColumn(ColumnName = "ProcessCode", Length = 64, IsNullable = true)]
public string? ProcessCode { get; set; }
[SugarColumn(ColumnName = "Qty", IsNullable = true)]
public decimal? Qty { get; set; }
[SugarColumn(ColumnName = "FixedLossQty", IsNullable = true)]
public decimal? FixedLossQty { get; set; }
[SugarColumn(ColumnName = "BatchNo", Length = 64, IsNullable = true)]
public string? BatchNo { get; set; }
}