package com.pig4cloud.pig.marketing.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author: wcl
 * @date: 2025-08-31
 * @description: 用户统计配置
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "user.statistics")
public class UserStatisticsConfig {

    /**
     * 活跃用户统计时间范围（分钟）
     */
    private Integer activeTimeRangeMinutes = 10;

    /**
     * 是否启用用户统计
     */
    private Boolean enabled = true;
}
