20 lines
360 B
TypeScript
20 lines
360 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsString } from 'class-validator';
|
|
|
|
export class DashboardFriendSummaryDTO {
|
|
@ApiProperty()
|
|
@IsString()
|
|
id!: string;
|
|
|
|
@ApiProperty()
|
|
@IsString()
|
|
name!: string;
|
|
|
|
@ApiProperty()
|
|
@IsString()
|
|
country!: string;
|
|
|
|
@ApiProperty({ nullable: true })
|
|
@IsString()
|
|
avatarUrl!: string | null;
|
|
} |