package top.tqx.demo_1.dto;

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

import java.io.Serializable;

@Data
public class FeedbackStatsResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Boolean success;

    @JsonProperty("total")
    private Integer total;

    @JsonProperty("positive")
    private Integer positive;

    @JsonProperty("negative")
    private Integer negative;

    @JsonProperty("avg_rating")
    private Double avgRating;

    @JsonProperty("satisfaction_rate")
    private Double satisfactionRate;
}