import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'; export class FreelanceProfileResponseDto { @ApiProperty() id!: number; @ApiPropertyOptional() displayName!: string | null; @ApiPropertyOptional() positioning!: string | null; @ApiProperty({ type: [String] }) domains!: string[]; @ApiProperty({ type: [String] }) stack!: string[]; @ApiProperty({ type: [String] }) targetMissionTypes!: string[]; @ApiProperty({ type: [String] }) targetSectors!: string[]; @ApiPropertyOptional() seniorityLevel!: string | null; @ApiPropertyOptional() tjm!: number | null; @ApiPropertyOptional() experienceYears!: number | null; @ApiProperty({ type: [String] }) certifications!: string[]; @ApiPropertyOptional() workFormat!: string | null; @ApiPropertyOptional() geographicZone!: string | null; @ApiProperty({ type: [String] }) competencesAcquired!: string[]; @ApiProperty({ type: [String] }) competencesInProgress!: string[]; @ApiProperty({ type: [String] }) competencesDismissed!: string[]; @ApiPropertyOptional() lastTrainingAt!: Date | null; @ApiPropertyOptional({ enum: ['daily', 'weekly'] }) veilleFrequency!: string | null; @ApiProperty({ type: [String] }) veilleExtraTopics!: string[]; @ApiProperty({ type: [String] }) veilleBlacklist!: string[]; @ApiPropertyOptional() veilleRelevanceThreshold!: number | null; @ApiProperty() veilleNotificationsEnabled!: boolean; @ApiPropertyOptional() lastVeilleAt!: Date | null; }