package com.fjhx.item.entity.product.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BasePo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * item_产品BOM明细
 * </p>
 *
 * @author
 * @since 2024-01-07
 */
@Getter
@Setter
@TableName("product_bom_detail")
public class ProductBomDetail extends BasePo {

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 物料id
     */
    private Long materialId;

    /**
     * 数量
     */
    private BigDecimal quantity;

    /**
     * 1原材料 2包材辅材
     */
    private Integer type;

}
