package de.cannamanage.api.dto.finance;

import de.cannamanage.domain.enums.PaymentMethod;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

import java.time.LocalDate;
import java.util.UUID;

public record RecordPaymentRequest(
        @NotNull UUID memberId,
        @NotNull @Min(1) Integer amountCents,
        @NotNull PaymentMethod paymentMethod,
        @NotNull LocalDate periodFrom,
        @NotNull LocalDate periodTo,
        String reference,
        String notes
) {}
