| | |
| | | package com.ruoyi.production.bean.vo; |
| | | |
| | | import com.ruoyi.production.pojo.ProductionOperationTask; |
| | | import com.ruoyi.production.pojo.ProductionOrderRoutingOperationParam; |
| | | import com.ruoyi.production.pojo.ProductionProductMain; |
| | | import com.ruoyi.production.pojo.ProductionProductOutput; |
| | |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @Schema(name = "ProductionOrderWorkOrderDetailVo", description = "Production order work order/report/inspect detail") |
| | | @Schema(name = "ProductionOrderWorkOrderDetailVo", description = "生产追溯返回对象") |
| | | public class ProductionOrderWorkOrderDetailVo { |
| | | |
| | | @Schema(description = "Production order info") |
| | | @Schema(description = "订单") |
| | | private ProductionOrderVo productionOrder; |
| | | |
| | | @Schema(description = "Work order list") |
| | | @Schema(description = "工单明细列表") |
| | | private List<WorkOrderDetail> workOrderList; |
| | | |
| | | @Data |
| | | @Schema(name = "WorkOrderDetail", description = "Work order detail") |
| | | @Schema(name = "WorkOrderDetail", description = "工单明细") |
| | | public static class WorkOrderDetail { |
| | | |
| | | @Schema(description = "Work order info") |
| | | private ProductionOperationTask workOrder; |
| | | @Schema(description = "工单信息") |
| | | private ProductionOperationTaskVo workOrder; |
| | | |
| | | @Schema(description = "Report list under current work order") |
| | | @Schema(description = "报工详情列表") |
| | | private List<ReportDetail> reportList; |
| | | } |
| | | |
| | | @Data |
| | | @Schema(name = "ReportDetail", description = "Production report detail") |
| | | public static class ReportDetail { |
| | | |
| | | @Schema(description = "Report main info") |
| | | private ProductionProductMain reportMain; |
| | | |
| | | @Schema(description = "Report output list") |
| | | private List<ProductionProductOutput> reportOutputList; |
| | | |
| | | @Schema(description = "Report process param list") |
| | | private List<ProductionOrderRoutingOperationParam> reportParamList; |
| | | |
| | | @Schema(description = "Inspect list under current report") |
| | | @Schema(description = "质检详情列表") |
| | | private List<InspectDetail> inspectList; |
| | | } |
| | | |
| | | @Data |
| | | @Schema(name = "InspectDetail", description = "Quality inspect detail") |
| | | @Schema(name = "ReportDetail", description = "报工详情") |
| | | public static class ReportDetail { |
| | | |
| | | @Schema(description = "报工主信息") |
| | | private ProductionProductMain reportMain; |
| | | |
| | | @Schema(description = "报工产出明细") |
| | | private List<ProductionProductOutput> reportOutputList; |
| | | |
| | | @Schema(description = "报工工序参数") |
| | | private List<ProductionOrderRoutingOperationParam> reportParamList; |
| | | } |
| | | |
| | | @Data |
| | | @Schema(name = "InspectDetail", description = "质检详情") |
| | | public static class InspectDetail { |
| | | |
| | | @Schema(description = "Inspect main info") |
| | | @Schema(description = "报工ID") |
| | | private Long reportId; |
| | | |
| | | @Schema(description = "报工单号") |
| | | private String reportNo; |
| | | |
| | | @Schema(description = "报工主信息") |
| | | private ProductionProductMain reportMain; |
| | | |
| | | @Schema(description = "质检主信息") |
| | | private QualityInspect inspect; |
| | | |
| | | @Schema(description = "Inspect param list") |
| | | @Schema(description = "质检指标明细") |
| | | private List<QualityInspectParam> inspectParamList; |
| | | |
| | | @Schema(description = "Inspect attachment list") |
| | | @Schema(description = "质检附件列表") |
| | | private List<QualityInspectFile> inspectFileList; |
| | | } |
| | | } |