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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

/**
 * 手动推送查询DTO
 * 
 * @author WCL
 * @date 2025-09-03
 * @description 手动推送记录查询参数
 */
@Data
@Schema(description = "手动推送查询DTO")
public class MktMgmtHandPushQueryDTO {

    @Schema(description = "推送开始日期", example = "2025-01-20")
    private String startTime;;

	@Schema(description = "推送结束日期", example = "2025-01-20")
	private String endTime;;

    @Schema(description = "页码", example = "1")
    @NotNull(message = "页码不能为空")
    @Min(value = 1, message = "页码必须大于0")
    private Integer pageNum = 1;

    @Schema(description = "每页大小", example = "10")
    @NotNull(message = "每页大小不能为空")
    @Min(value = 1, message = "每页大小必须大于0")
    private Integer pageSize = 10;
}

