package top.tqx.demo_1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

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

public class FAQListResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Boolean success;

    @JsonProperty("faqs")
    private List<FAQItem> faqs;

    @JsonProperty("total")
    private Integer total;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public List<FAQItem> getFaqs() {
        return faqs;
    }

    public void setFaqs(List<FAQItem> faqs) {
        this.faqs = faqs;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}