package top.tqx.demo_1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.math.BigDecimal;

public class FAQSuggestionItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("id")
    private Long id;

    @JsonProperty("query")
    private String query;

    @JsonProperty("answer")
    private String answer;

    @JsonProperty("avg_rating")
    private BigDecimal avgRating;

    @JsonProperty("avg_rating_dbl")
    private Double avgRatingDbl;

    @JsonProperty("frequency")
    private Integer frequency;

    @JsonProperty("status")
    private String status;

    @JsonProperty("faq_id")
    private Long faqId;

    @JsonProperty("created_at")
    private String createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public BigDecimal getAvgRating() {
        return avgRating;
    }

    public void setAvgRating(BigDecimal avgRating) {
        this.avgRating = avgRating;
    }

    public Double getAvgRatingDbl() {
        return avgRatingDbl;
    }

    public void setAvgRatingDbl(Double avgRatingDbl) {
        this.avgRatingDbl = avgRatingDbl;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getFaqId() {
        return faqId;
    }

    public void setFaqId(Long faqId) {
        this.faqId = faqId;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }
}