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


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

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lwh
 * @date: 2025-07-16
 * @description: 分页统计一级营销数据VO
 */
@Data
public class PageSecondLevelDataDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

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

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

	/**
	 * ip
	 */
	@NotEmpty(message = "ip不能为空")
	@Schema(description = "ip")
	private String ip;
}
