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


import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: lwh
 * @date: 2025-08-07
 * @description: 分页查询全部版本详情出参
 */
@Data
@Schema(description = "分页查询全部版本详情出参")
public class PageAllVersionDetailVO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 版本
	 */
	@ColumnWidth(8)
	@ExcelProperty(value = "版本")
	@Schema(description = "版本")
	private String version;

	/**
	 * 累计用户占比
	 */
	@ColumnWidth(16)
	@ExcelProperty(value = "截至今日版本累计用户占比")
	@Schema(description = "累计用户占比")
	private BigDecimal totalUserRate;

	/**
	 * 累计用户
	 */
	@ColumnWidth(11)
	@ExcelProperty(value = "累计用户")
	@Schema(description = "累计用户")
	private Integer totalUser;

	/**
	 * 新增用户
	 */
	@ColumnWidth(11)
	@ExcelProperty(value = "新增用户")
	@Schema(description = "新增用户")
	private Integer newUser;

	/**
	 * 活跃用户
	 */
	@ColumnWidth(11)
	@ExcelProperty(value = "活跃用户")
	@Schema(description = "活跃用户")
	private Integer activeUser;

	/**
	 * 活跃用户占比
	 */
	@ColumnWidth(10)
	@ExcelProperty(value = "活跃用户占比")
	@Schema(description = "活跃用户占比")
	private BigDecimal activeUserRate;

	/**
	 * 启动次数
	 */
	@ColumnWidth(11)
	@ExcelProperty(value = "启动次数")
	@Schema(description = "启动次数")
	private Integer launch;

	/**
	 * 升级用户
	 */
	@ColumnWidth(11)
	@ExcelProperty(value = "升级用户")
	@Schema(description = "升级用户")
	private Integer upgradeUser;

}
