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; }