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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 生产工序 Response VO")
@Data
public class MesProProcessRespVO {
 
    @ExcelProperty("编号")
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
 
    @ExcelProperty("工序编码")
    @Schema(description = "工序编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PROCESS001")
    private String code;
 
    @ExcelProperty("工序名称")
    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "下料工序")
    private String name;
 
    @ExcelProperty("工艺要求")
    @Schema(description = "工艺要求", example = "按照图纸尺寸进行切割")
    private String attention;
 
    @ExcelProperty("计费类型")
    @Schema(description = "计费类型:1-计时 2-计件", example = "2")
    private Integer billingType;
 
    @ExcelProperty("工资定额")
    @Schema(description = "工资定额:计时为元/小时,计件为元/件", example = "12.50")
    private BigDecimal wageRate;
 
    @ExcelProperty("辅助工时小时工资")
    @Schema(description = "辅助工时小时工资(元/小时)", example = "25.00")
    private BigDecimal auxHourlyRate;
 
    @Schema(description = "标准工时计算方式:0-未启用 1-转速×节距 2-线速度直取 3-满速百分比×节距", example = "1")
    private Integer stdTimeMode;
 
    @Schema(description = "标准工时折算系数", example = "1.8")
    private BigDecimal stdTimeFactor;
 
    @Schema(description = "机台满转速(r/min)", example = "1200")
    private BigDecimal maxRpm;
 
    @Schema(description = "转速参数编码", example = "RPM")
    private String stdRpmParamCode;
 
    @Schema(description = "节距参数编码", example = "PITCH")
    private String stdPitchParamCode;
 
    @Schema(description = "线速度(米/分)参数编码", example = "SPEED")
    private String stdSpeedParamCode;
 
    @Schema(description = "转速百分比参数编码", example = "RPM_PERCENT")
    private String stdPercentParamCode;
 
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.COMMON_STATUS)
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
 
    @ExcelProperty("备注")
    @Schema(description = "备注", example = "金属板材下料")
    private String remark;
 
    @ExcelProperty("创建时间")
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
}