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;
import java.math.BigDecimal;

/**
 * 推送统计概览指标
 */
@Data
@JsonInclude
@ApiModel(value = "CommonPushStatisticsSummaryVo", description = "推送统计概览指标")
public class CommonPushStatisticsSummaryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("推送量（status=2或3）")
    private Long pushVolume;

    @ApiModelProperty("送达数（status=3）")
    private Long deliveredCount;

    @ApiModelProperty("点击数（user_add=1）")
    private Long clickCount;

    @ApiModelProperty("送达率（送达数/推送量，%）")
    private BigDecimal deliveryRate;

    @ApiModelProperty("点击率（点击数/送达数，%）")
    private BigDecimal clickRate;

    @ApiModelProperty("转化率（点击数/推送量，%）")
    private BigDecimal conversionRate;
}
