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