liusheng
2024-04-19 0dccef48a4863754bd6080511bdf9372c0004d78
代码提交
已添加1个文件
58 ■■■■■ 文件已修改
smartor/src/main/java/com/smartor/domain/PhoneCallBackVO.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/PhoneCallBackVO.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
package com.smartor.domain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * ç”µè¯å›žè°ƒ
 *
 * @author ls
 * @date 2024-04-10
 */
@Data
public class PhoneCallBackVO {
    // ç»“果类型  å‘¼å«ç»“果接口: 1      é€šè¯çŠ¶æ€æ›´æ–°æŽ¥å£: 2    è¯­éŸ³è¯†åˆ«ç»“果上报接口: 3
    @ApiModelProperty(value = "结果类型  å‘¼å«ç»“果接口: 1   é€šè¯çŠ¶æ€æ›´æ–°æŽ¥å£: 2    è¯­éŸ³è¯†åˆ«ç»“果上报接口: 3 ")
    private Integer resultType;
    // UUID
    @ApiModelProperty(value = "uuid")
    private String uuid;
    /**
     * å‘¼å«ç»“果接口
     */
    //成功,1-失败
    @ApiModelProperty(value = "0-成功,1-失败")
    private Integer uint8;
    //失败原因(没有线路、外呼命令格式错误、用户未注册...FS侧定义)
    @ApiModelProperty(value = "失败原因(没有线路、外呼命令格式错误、用户未注册...FS侧定义)")
    private String errResult;
    /**
     * é€šè¯çŠ¶æ€æ›´æ–°æŽ¥å£
     */
    //状态 0-振铃,1-接听、2-挂断三种(暂定)
    @ApiModelProperty(value = "0-振铃,1-接听、2-挂断三种(暂定)")
    private Integer enumState;
    //挂断原因(如果是挂断的话)
    @ApiModelProperty(value = "挂断原因(如果是挂断的话)")
    private String hangUpResult;
    /**
     * è¯­éŸ³è¯†åˆ«ç»“果上报接口
     */
    //语音识别结果文本
    @ApiModelProperty(value = "语音识别结果文本")
    private String textResult;
    @Override
    public String toString() {
        return "PhoneCallBackVO{" + "resultType=" + resultType + ", uuid='" + uuid + '\'' + ", uint8=" + uint8 + ", errResult='" + errResult + '\'' + ", enumState=" + enumState + ", hangUpResult='" + hangUpResult + '\'' + ", textResult='" + textResult + '\'' + '}';
    }
}