guyue
5 天以前 e285517df2a3cb206282a41f958c80044422a552
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
42
43
44
45
46
47
48
49
50
51
52
53
package com.linghu.model.dto;
 
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
 
import java.util.Date;
import java.util.List;
 
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskResultResponse {
    private String task_id;
    private Integer total_users;
    private Integer total_questions;
    private Integer successful_users;
    private Date total_duration;
    private List<UserResult> results;
 
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class UserResult {
 
        private String user_name;
        private String user_email;
        private String status;
        private List<QuestionResult> questions_results;
    }
 
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class QuestionResult {
        private String question;
        private String response;
        private String status;
        private Integer extracted_count;
        private Date timestamp;
        private String error;
        private List<Reference> references;
    }
 
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Reference {
        private String title;
        private String url;
        private String domain;
    }
}