gaoluyang
昨天 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.worktime.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
@Schema(description = "管理后台 - MES 标准工时试算 Response VO")
@Data
public class MesProWorktimeCalcRespVO {
 
    @Schema(description = "实际参与计算的生产长度(米),未填且单位是米时会按报工数量带入", example = "1000.00")
    private BigDecimal productionLength;
 
    @Schema(description = "标准工时(小时)", example = "1.25")
    private BigDecimal standardWorkHours;
 
    @Schema(description = "主工时(小时)", example = "1.00")
    private BigDecimal primaryHours;
 
    @Schema(description = "辅助工时(小时)", example = "0.25")
    private BigDecimal auxHours;
 
    @Schema(description = "计算依据说明", example = "线速度 45.60 米/分;生产长度 1000.00 米,主工时 0.37h;辅助工时 0.25h")
    private String note;
 
    @Schema(description = "未能计算的原因列表;为空表示计算成功")
    private List<String> missingReasons;
 
    @Schema(description = "辅助工时逐项计算结果")
    private List<AuxResult> auxList;
 
    @Data
    @Schema(description = "辅助工时逐项计算结果")
    public static class AuxResult {
 
        @Schema(description = "辅助工时项目编号", example = "1024")
        private Long auxItemId;
 
        @Schema(description = "辅助项目名称", example = "上下放线盘")
        private String itemName;
 
        @Schema(description = "计量方式:1-按次 2-按个 3-按盘 4-按米折算", example = "2")
        private Integer measureType;
 
        @Schema(description = "次数/个数/盘数/米数", example = "2.00")
        private BigDecimal quantity;
 
        @Schema(description = "换色起始材料", example = "PVC")
        private String materialFrom;
 
        @Schema(description = "换色目标材料", example = "LSZH")
        private String materialTo;
 
        @Schema(description = "折算分钟数", example = "10.00")
        private BigDecimal minutes;
 
        @Schema(description = "备注")
        private String remark;
 
    }
 
}