package com.pig4cloud.pig.statistics.api.vo.uninstall;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author: wcl
 * @date: 2025-08-13
 * @description: 流失去向分析VO
 */
@Data
@Schema(name = "UninstallCompetitorVO", description = "流失去向分析返回数据")
public class UninstallCompetitorVO {

    @Schema(description = "竞品类型列表")
    private List<String> competitorTypes;

    @Schema(description = "流向各竞品的用户数量")
    private Map<String, Integer> competitorUserCounts;

    @Schema(description = "流向各竞品的用户占比(%)")
    private Map<String, Double> competitorUserPercentages;

    @Schema(description = "未知去向用户数量")
    private Integer unknownCount;

    @Schema(description = "未知去向用户占比(%)")
    private Double unknownPercentage;
}
