| | |
| | | package com.ruoyi.production.bean.dto; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | |
| | | @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; |
| | | } |