package de.cannamanage.api.dto.club;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;

import java.time.LocalDate;

public record UpdateClubRequest(
        @NotBlank(message = "Club name is required")
        String name,

        String registrationNumber,

        @Email(message = "Must be a valid email address")
        String contactEmail,

        String contactPhone,

        String addressStreet,

        String addressCity,

        String addressPostalCode,

        String addressState,

        LocalDate foundedDate,

        @Min(value = 1, message = "Must have at least 1 prevention officer slot")
        Integer maxPreventionOfficers,

        String allowedEmailPattern
) {}
