package cn.iocoder.yudao.module.mes.api.mps.dto; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; /** * MPS 响应 DTO * * @author 芋道源码 */ @Schema(description = "RPC 服务 - MPS Response DTO") @Data public class MesProMpsRespDTO { @Schema(description = "MPS 编号", example = "1024") private Long id; @Schema(description = "MPS 编码", example = "MPS-001") private String code; @Schema(description = "状态", example = "0") private Integer status; @Schema(description = "销售订单ID", example = "100") private Long saleOrderId; @Schema(description = "销售订单号", example = "SO-001") private String saleOrderNo; @Schema(description = "销售订单明细ID", example = "200") private Long saleOrderItemId; @Schema(description = "产品ID", example = "100") private Long productId; @Schema(description = "计划生产数量", example = "100.00") private BigDecimal quantity; @Schema(description = "已生产数量", example = "50.00") private BigDecimal quantityProduced; @Schema(description = "客户ID", example = "300") private Long clientId; @Schema(description = "需求日期") private LocalDateTime requestDate; @Schema(description = "下发日期") private LocalDateTime issueDate; @Schema(description = "完成日期") private LocalDateTime finishDate; @Schema(description = "生产工单ID", example = "500") private Long workOrderId; @Schema(description = "生产工单编码", example = "WO-001") private String workOrderCode; @Schema(description = "是否合并下发", example = "0") private Integer mergeFlag; @Schema(description = "合并批次号", example = "MERGE-001") private String mergeBatchNo; }