package top.tqx.demo_1.dto;

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

import java.io.Serializable;

@Data
public class FeedbackItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("id")
    private Long id;

    @JsonProperty("feedback_id")
    private String feedbackId;

    @JsonProperty("session_id")
    private String sessionId;

    @JsonProperty("user_id")
    private Long userId;

    @JsonProperty("query")
    private String query;

    @JsonProperty("answer")
    private String answer;

    @JsonProperty("rating")
    private Integer rating;

    @JsonProperty("reason")
    private String reason;

    @JsonProperty("sources")
    private String sources;

    @JsonProperty("faq_suggested")
    private Boolean faqSuggested;

    @JsonProperty("suggestion_id")
    private String suggestionId;

    @JsonProperty("created_at")
    private String createdAt;
}