liyong
2 天以前 88ae1e650fc2fc30928edfe8f3cc39108d8d1ccd
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
package com.ruoyi.production.bean.dto;
 
import com.ruoyi.production.pojo.ProductionOperationTask;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDate;
 
@EqualsAndHashCode(callSuper = true)
@Data
public class ProductionOperationTaskDto extends ProductionOperationTask {
 
    @Schema(description = "工序名称")
    private String processName;
 
    @Schema(description = "生产订单号")
    private String productOrderNpsNo;
 
    @Schema(description = "产品名称")
    private String productName;
 
    @Schema(description = "规格型号")
    private String model;
 
    @Schema(description = "单位")
    private String unit;
 
    @Schema(description = "报废数量")
    private BigDecimal scrapQty;
 
    @Schema(description = "完成进度")
    private BigDecimal completionStatus;
 
    @Schema(description = "订单号")
    private String npsNo;
 
    @Schema(description = "开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
 
    @Schema(description = "结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}