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

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

public record AddProductionStepRequest(
        @Min(1) int stepNumber,
        @NotBlank @Size(max = 500) String description,
        @Min(1) Integer durationMinutes,
        @Min(-273) @Max(1000) Integer temperatureCelsius
) {}
