package top.tqx.demo_1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class FeedbackCreateRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("session_id")
    private String sessionId;

    @JsonProperty("query")
    private String query;

    @JsonProperty("answer")
    private String answer;

    @JsonProperty("rating")
    private Integer rating;

    @JsonProperty("reason")
    private String reason;

    @JsonProperty("sources")
    private List<String> sources;
}
