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

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

import jakarta.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author: wcl
 * @date: 2025-08-31
 * @description: 营销推送记录分页查询DTO
 */
@Data
@Schema(description = "营销推送记录分页查询DTO")
public class MktMgmtPushRecordQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "规则名称", example = "用户激活推送")
    private String ruleName;

    @Schema(description = "触发信息")
    private String triggerCondition;

    @Schema(description = "页码", example = "1")
    @Min(value = 1, message = "页码不能小于1")
    private Integer pageNum = 1;

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