import { IsInt, Min } from 'class-validator';
import { TransformNumber } from '../../../shared/decorators/class-transformer/transform-number.decorator';
import { NutrientDto } from '../../../shared/dtos/nutrients/nutrient.dto';

export class RetrieveNutrientsParamsDto {
  @TransformNumber()
  @IsInt()
  @Min(1)
  id: number;
}

export class RetrieveNutrientsResponseDto {
  data: NutrientDto[];
}
