Loading backend/src/pointOfInterest/dto/create-point.dto.ts 0 → 100644 +7 −0 Original line number Diff line number Diff line import { Place } from 'src/place/entities/place.entity'; export class CreatePointDto { idPlace: Place; name: string; imageName: string; } backend/src/pointOfInterest/dto/create-pointAndTraduction.dto.ts 0 → 100644 +18 −0 Original line number Diff line number Diff line import { ApiProperty } from '@nestjs/swagger'; export class CreatePointAndTradDto { @ApiProperty() idPlace: number; @ApiProperty() name: string; @ApiProperty({ type: 'string', format: 'binary' }) image; @ApiProperty() contentEN: string; @ApiProperty() contentES: string; @ApiProperty() directionsEN: string; @ApiProperty() directionsES: string; } backend/src/pointOfInterest/dto/create-pointTrad.dto.ts 0 → 100644 +9 −0 Original line number Diff line number Diff line import { LANGUAGES } from 'src/shared/enum/languages.enum'; export class CreatePointTradDto { language: LANGUAGES; idPoint: number; content: string; directions: string; audioName: string; } backend/src/pointOfInterest/dto/update-point.dto.ts 0 → 100644 +4 −0 Original line number Diff line number Diff line import { PartialType } from '@nestjs/swagger'; import { CreatePointAndTradDto } from './create-pointAndTraduction.dto'; export class UpdatePointDto extends PartialType(CreatePointAndTradDto) {} Loading
backend/src/pointOfInterest/dto/create-point.dto.ts 0 → 100644 +7 −0 Original line number Diff line number Diff line import { Place } from 'src/place/entities/place.entity'; export class CreatePointDto { idPlace: Place; name: string; imageName: string; }
backend/src/pointOfInterest/dto/create-pointAndTraduction.dto.ts 0 → 100644 +18 −0 Original line number Diff line number Diff line import { ApiProperty } from '@nestjs/swagger'; export class CreatePointAndTradDto { @ApiProperty() idPlace: number; @ApiProperty() name: string; @ApiProperty({ type: 'string', format: 'binary' }) image; @ApiProperty() contentEN: string; @ApiProperty() contentES: string; @ApiProperty() directionsEN: string; @ApiProperty() directionsES: string; }
backend/src/pointOfInterest/dto/create-pointTrad.dto.ts 0 → 100644 +9 −0 Original line number Diff line number Diff line import { LANGUAGES } from 'src/shared/enum/languages.enum'; export class CreatePointTradDto { language: LANGUAGES; idPoint: number; content: string; directions: string; audioName: string; }
backend/src/pointOfInterest/dto/update-point.dto.ts 0 → 100644 +4 −0 Original line number Diff line number Diff line import { PartialType } from '@nestjs/swagger'; import { CreatePointAndTradDto } from './create-pointAndTraduction.dto'; export class UpdatePointDto extends PartialType(CreatePointAndTradDto) {}