3 天以前 83e1b4d0e661f11a407fd6ea86e906b9b87b7180
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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<String> keyPoints;
 
    @Schema(description = "风险明细列表")
    private List<RiskItem> 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;
    }
 
}