19 lines
359 B
TypeScript
19 lines
359 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsString, IsNotEmpty } from 'class-validator';
|
|
|
|
export class RequestAvatarGenerationInputDTO {
|
|
@ApiProperty()
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
userId: string;
|
|
|
|
@ApiProperty()
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
facePhotoData: string;
|
|
|
|
@ApiProperty()
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
suitColor: string;
|
|
} |