package cn.iocoder.yudao.module.mes.controller.admin.pro.ai.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.util.List; @Schema(description = "管理后台 - AI 生产风险预测响应 VO") @Data public class MesProAiRiskPredictRespVO { @Schema(description = "整体风险等级:1=低风险 2=中风险 3=高风险", example = "2") private Integer overallRiskLevel; @Schema(description = "AI 综合分析") private String reasoning; @Schema(description = "关键关注点") private List keyPoints; @Schema(description = "风险明细列表") private List risks; @Schema(description = "风险项") @Data public static class RiskItem { @Schema(description = "风险类别:质量/设备/物料/工艺瓶颈", example = "设备") private String category; @Schema(description = "风险描述", example = "设备A上次保养距今已超过30天") private String description; @Schema(description = "严重程度:高/中/低", example = "中") private String severity; @Schema(description = "建议措施", example = "建议在开始生产前进行设备保养") private String suggestion; } }