package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
@Schema(description = "管理后台 - MES 一键排产预览 Response VO")
|
@Data
|
@Accessors(chain = true)
|
public class MesProTaskAutoGeneratePreviewRespVO {
|
|
@Schema(description = "工单ID", example = "1001")
|
private Long workOrderId;
|
|
@Schema(description = "工艺路线ID", example = "101")
|
private Long routeId;
|
|
@Schema(description = "工艺路线名称", example = "产品A-标准工艺")
|
private String routeName;
|
|
@Schema(description = "预生成任务列表")
|
private List<TaskPreview> taskList;
|
|
@Data
|
@Accessors(chain = true)
|
public static class TaskPreview {
|
|
@Schema(description = "工序ID", example = "1")
|
private Long processId;
|
|
@Schema(description = "工序名称", example = "下料")
|
private String processName;
|
|
@Schema(description = "工序顺序", example = "1")
|
private Integer sort;
|
|
@Schema(description = "建议工作站ID", example = "201")
|
private Long suggestWorkstationId;
|
|
@Schema(description = "建议工作站名称", example = "下料区-A01")
|
private String suggestWorkstationName;
|
|
@Schema(description = "排产数量", example = "100")
|
private BigDecimal quantity;
|
|
@Schema(description = "是否关键工序")
|
private Boolean keyFlag;
|
}
|
}
|