package com.cmvr.evaluation.model.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("语音交互评估")
public class AeViEvaluationVO {

    @ApiModelProperty(value = "方案ID")
    private String schemeId;

    @ApiModelProperty(value = "方案名称")
    private String schemeName;

    @ApiModelProperty(value = "平均响应时间（ms）")
    private Long responseTime;

    @ApiModelProperty(value = "平均响应时间得分")
    private Long responseTimeScore;

    @ApiModelProperty(value = "成功率（0-100）")
    private Long successRate;

    @ApiModelProperty(value = "成功率得分")
    private Long successRateScore;

    @ApiModelProperty(value = "评估项详细列表")
    private List<AeItemDetail> itemDetails;

    /**
     * 评估项详细信息
     */
    @Data
    @ApiModel("评估项详细")
    public static class AeItemDetail {

        @ApiModelProperty(value = "评估项ID")
        private String aeId;

        @ApiModelProperty(value = "文本")
        private String content;

        @ApiModelProperty(value = "评估项响应时间（ms）")
        private Long itemResponseTime;

        @ApiModelProperty("评估状态，0:待评估，1:评估中，3:评估成功，4:评估失败")
        private Integer status;

        @ApiModelProperty(value = "评估相关视频地址")
        private String videoPath;

        @ApiModelProperty(value = "失败原因说明")
        private String failureReason;

        @ApiModelProperty(value = "执行过程详情说明")
        private String executionDetail;

    }
}

