package de.cannamanage.api.dto.finance;

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

import java.time.LocalDate;

public record RecordExpenseRequest(
        @NotNull ExpenseCategory category,
        @NotNull @Min(1) Integer amountCents,
        @NotBlank String description,
        String reference,
        @NotNull LocalDate transactionDate
) {}
