| | |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * BOM 导入导出行:扁平结构,一行 = 成品 + 一个物料规格 + 该物料的消耗工序。 |
| | | * 不再包含层级(父项/子项)和单位用量。 |
| | | */ |
| | | @Data |
| | | public class BomImportDto { |
| | | |
| | | @Excel(name = "父项产品编号") |
| | | private String parentCode; |
| | | @Excel(name = "成品产品编号") |
| | | private String productCode; |
| | | |
| | | @Excel(name = "父项产品名称") |
| | | private String parentName; |
| | | @Excel(name = "成品产品名称") |
| | | private String productName; |
| | | |
| | | @Excel(name = "父项产品规格") |
| | | private String parentSpec; |
| | | @Excel(name = "成品产品规格") |
| | | private String productSpec; |
| | | |
| | | @Excel(name = "子项产品编号") |
| | | private String childCode; |
| | | @Excel(name = "物料产品编号") |
| | | private String materialCode; |
| | | |
| | | @Excel(name = "子项产品名称") |
| | | private String childName; |
| | | @Excel(name = "物料产品名称") |
| | | private String materialName; |
| | | |
| | | @Excel(name = "子项产品规格") |
| | | private String childSpec; |
| | | @Excel(name = "物料产品规格") |
| | | private String materialSpec; |
| | | |
| | | @Excel(name = "单位用量") |
| | | private BigDecimal unitQty; |
| | | |
| | | @Excel(name = "投料工序") |
| | | @Excel(name = "消耗工序") |
| | | private String process; |
| | | |
| | | @Excel(name = "备注") |