Loading backend/src/town/dto/create-town.dto.ts +12 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,18 @@ import { ApiProperty } from '@nestjs/swagger'; export class CreateTownDto { @ApiProperty() name: string; @ApiProperty() description: string; @ApiProperty({ type: String, description: 'Language content for Spanish (es)', }) descriptionES: string; @ApiProperty({ type: String, description: 'Language content for English (en)', }) descriptionEN: string; imageName: string = 'default.jpg'; @ApiProperty() state: number; Loading Loading
backend/src/town/dto/create-town.dto.ts +12 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,18 @@ import { ApiProperty } from '@nestjs/swagger'; export class CreateTownDto { @ApiProperty() name: string; @ApiProperty() description: string; @ApiProperty({ type: String, description: 'Language content for Spanish (es)', }) descriptionES: string; @ApiProperty({ type: String, description: 'Language content for English (en)', }) descriptionEN: string; imageName: string = 'default.jpg'; @ApiProperty() state: number; Loading