2026-04-23 c247f5bf64c98595cc7e4efc9e1ae7ff1df79c11
src/main/java/com/ruoyi/production/bean/dto/ProductStructureDto.java
@@ -1,5 +1,6 @@
package com.ruoyi.production.bean.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
@@ -7,15 +8,26 @@
@Data
public class ProductStructureDto {
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "BOM主键ID")
    private Long bomId;
    @Schema(description = "父级ID")
    private Long parentId;
    @Schema(description = "产品型号ID")
    private Long productModelId;
    @Schema(description = "单位用量")
    private BigDecimal unitQuantity;
    @Schema(description = "单位")
    private String unit;
    @Schema(description = "工序ID")
    private Long processId;
    @Schema(description = "工序名称")
    private String processName;
    @Schema(description = "产品名称")
    private String productName;
    @Schema(description = "规格型号")
    private String model;
    @Schema(description = "子节点")
    private List<ProductStructureDto> children;
}