package com.ruoyi.production.pojo; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.math.BigDecimal; @TableName("product_structure") @Data public class ProductStructure { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 产品名称 */ private Long productModelId; /** * 工序id */ private Long processId; /** * 单位产出需要数量 */ private BigDecimal unitQuantity; /** * 需求数量 */ private BigDecimal demandedQuantity; /** * 单位 */ private String unit; /** * 盘数量 */ private BigDecimal diskQuantity; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; }