| | |
| | | package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo; |
| | | |
| | | import cn.iocoder.yudao.framework.excel.core.convert.JsonConvert; |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | 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; |
| | | import java.util.List; |
| | | |
| | | @Schema(description = "管理后台 - MES 生产任务 Response VO") |
| | | @Data |
| | | @ExcelIgnoreUnannotated |
| | | public class MesProTaskRespVO { |
| | | |
| | | @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | |
| | | |
| | | @Schema(description = "工序编号", example = "1") |
| | | private Long processId; |
| | | |
| | | @Schema(description = "工艺参数模板编号", example = "1") |
| | | private Long paramTemplateId; |
| | | |
| | | @Schema(description = "工序名称", example = "注塑") |
| | | private String processName; |
| | |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | private LocalDateTime createTime; |
| | | |
| | | @Schema(description = "停工历史记录") |
| | | // 导出 Excel 时不支持 List 字段,这里改用 JsonConvert 转成 JSON 文本,避免导出接口 500 |
| | | @ExcelProperty(value = "停工历史记录", converter = JsonConvert.class) |
| | | private List<MesProTaskPauseRecordRespVO> pauseRecords; |
| | | |
| | | @Schema(description = "指定报工人员 ID 集合") |
| | | @ExcelProperty(value = "指定报工人员ID", converter = JsonConvert.class) |
| | | private List<Long> assigneeUserIds; |
| | | |
| | | @Schema(description = "指定报工人员姓名集合") |
| | | @ExcelProperty(value = "指定报工人员姓名", converter = JsonConvert.class) |
| | | private List<String> assigneeUserNames; |
| | | |
| | | @Schema(description = "是否报工审批") |
| | | private Boolean feedbackApprove; |
| | | } |