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


import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonInclude;
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-06
 * @description: TODO
 */

@Data
@Schema(description = "分页查询活跃详情出参")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class PageActiveDetailVO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 日期
	 */
	@ColumnWidth(20)
	@ExcelProperty(value = "日期")
	@Schema(description = "日期")
	private String date;

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

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


	/***********************************单位为天时
	 * DAU/过去7日活跃用户
	 */
	@ColumnWidth(15)
	@ExcelProperty(value = "DAU/过去7日活跃用户")
	@Schema(description = "DAU/过去7日活跃用户")
	private BigDecimal wauRate;

	/***********************************单位为天时
	 * DAU/过去30日活跃用户
	 */
	@ColumnWidth(15)
	@ExcelProperty(value = "DAU/过去30日活跃用户")
	@Schema(description = "DAU/过去30日活跃用户")
	private BigDecimal mauRate;

	/***********************************单位为周时
	 * 用户周活跃率
	 */
	@ColumnWidth(10)
	@ExcelProperty(value = "用户周活跃率")
	@Schema(description = "用户周活跃率")
	private BigDecimal weekActiveUserRate;


	/***********************************单位为月时
	 * 用户月活跃率
	 */
	@ColumnWidth(10)
	@ExcelProperty(value = "用户月活跃率")
	@Schema(description = "用户月活跃率")
	private BigDecimal monthActiveUserRate;
}
