package de.effigenix.infrastructure.masterdata.web.dto;

import de.effigenix.domain.masterdata.article.PriceModel;
import de.effigenix.domain.masterdata.Unit;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

public record CreateArticleRequest(
        @NotBlank String name,
        @NotBlank String articleNumber,
        @NotBlank String categoryId,
        @NotNull Unit unit,
        @NotNull PriceModel priceModel,
        @NotNull BigDecimal price
) {}
