liyong
4 天以前 be5783c8a7e13bbc76d33c95643d75779cce21db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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;
 
}