import { ApiProperty } from '@nestjs/swagger';

export class CreateVisitedDto {
  @ApiProperty()
  idPlace: number;
  @ApiProperty({ type: 'number', description: 'Rating from 1 to 5' })
  rating: number;
}
