package shop.alien.entity.store.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 评价回复率和评价比例VO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@JsonInclude
@ApiModel(value = "RatingPercentVo对象", description = "评价回复率和评价比例")
public class RatingPercentVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总评价数")
    private Integer totalRatingCount;

    @ApiModelProperty(value = "好评数")
    private Integer goodCount;

    @ApiModelProperty(value = "中评数")
    private Integer midCount;

    @ApiModelProperty(value = "差评数")
    private Integer badCount;

    @ApiModelProperty(value = "好评占比（%）")
    private Double goodPercent;

    @ApiModelProperty(value = "中评占比（%）")
    private Double midPercent;

    @ApiModelProperty(value = "差评占比（%）")
    private Double badPercent;

    @ApiModelProperty(value = "已回复的评价数")
    private Integer repliedCount;

    @ApiModelProperty(value = "回复率（%）")
    private Double replyRate;
}

