forked from Yara724/api
28 lines
503 B
TypeScript
28 lines
503 B
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
import { IsDateString } from "class-validator";
|
|
|
|
export class UpdateUserProfileDtoRq {
|
|
// @ApiProperty({})
|
|
// mobile: string;
|
|
@ApiProperty({
|
|
type: "string",
|
|
description: "Birth date of the user",
|
|
example: "1999-03-05",
|
|
nullable: true,
|
|
})
|
|
@IsDateString()
|
|
birthDay: string;
|
|
|
|
@ApiProperty()
|
|
gender?: "male" | "female";
|
|
|
|
@ApiProperty()
|
|
city: string;
|
|
|
|
@ApiProperty()
|
|
state: string;
|
|
|
|
@ApiProperty()
|
|
address: string;
|
|
}
|