You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.supervision.police.vo;
|
|
|
|
|
|
|
|
import com.supervision.chat.client.dto.chat.ChatResDTO;
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
@Data
|
|
|
|
public class ChatResVO {
|
|
|
|
|
|
|
|
private String answer;
|
|
|
|
private Map<String, Object> answwerMap;
|
|
|
|
private String type;
|
|
|
|
private String intentType;
|
|
|
|
private List<String> docs;
|
|
|
|
|
|
|
|
public ChatResVO() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public ChatResVO(ChatResDTO chatResDTO) {
|
|
|
|
if (Objects.isNull(chatResDTO)){
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
this.answer = chatResDTO.getAnswer();
|
|
|
|
this.docs = chatResDTO.getDocs();
|
|
|
|
}
|
|
|
|
}
|