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

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

export class RetrieveRecipeTag_Tag {
  id: number;
  name: string;
}

export class RetrieveRecipeTagResponseDto {
  data: RetrieveRecipeTag_Tag;
}
