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

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

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

    @Schema(description = "推送内容", required = true)
    @NotBlank(message = "推送内容不能为空")
    private String pushContent;

    @Schema(description = "推送IP")
    private String pushIP;

    @Schema(description = "推送域名")
    private String pushDomain;

    @Schema(description = "规则ID", required = true)
    @NotNull(message = "规则ID不能为空")
    private Long ruleId;

    @Schema(description = "推送频率")
    private String pushFrequency;
}

