package pl.polskalokalnie.campaign;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.Instant;

public record CampaignRequest(
        @NotBlank String name,
        @NotNull Channel channel,
        String subject,
        @NotBlank String body,
        @NotNull Long targetGroupId,
        Instant scheduledAt,
        @NotNull @Min(1) Integer dailyLimit
) {
}
