package com.sonic.cow.event.inner.payload;

import com.byteplus.ark.runtime.model.completion.chat.ChatMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author mzc
 * @date 2020-05-07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmotionScorePayload {

    @ApiModelProperty("聊天消息列表")
    private List<ChatMessage> chatMessageList;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("AI id")
    private Long aiId;

    @ApiModelProperty("通话是否结束")
    private Boolean isEnd;

    @ApiModelProperty("通话结束时才有，通话时长")
    private Long duration;
}
