package com.pig4cloud.pig.marketing.api.dto.app;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: lwh
 * @date: 2025-07-30
 * @description: 分页统计应用营销数据入参
 */

@Data
@Schema(description = "分页统计应用营销数据入参")
public class PageStatAppMktDataDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 每页显示条数，默认 10
	 */
	@Schema(description = "每页显示条数")
	private long size = 10;

	/**
	 * 当前页
	 */
	@Schema(description = "当前页")
	private long current = 1;

	/**
	 * 应用ID
	 */
	@Schema(description = "应用ID")
	@NotBlank(message = "应用ID不能为空")
	private String appId;

	/**
	 * 时间范围
	 */
	@Schema(description = "时间范围")
	private LocalDateTime[] timeRange;

}
