src/feature/users/dto/create.user.dto.ts
Properties |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiValidateUserEmail)
|
Defined in src/feature/users/dto/create.user.dto.ts:13
|
firstName |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiCreateUserFirstNameProperty)
|
Defined in src/feature/users/dto/create.user.dto.ts:7
|
lastName |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiCreateUserLastNameProperty)
|
Defined in src/feature/users/dto/create.user.dto.ts:10
|
password |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiValidateUserPass)
|
Defined in src/feature/users/dto/create.user.dto.ts:16
|
import { ApiProperty } from '@nestjs/swagger';
import { apiResponse } from '@app/feature/users/constants/api.response.dto';
export class CreateUserDto {
@ApiProperty(apiResponse.apiCreateUserFirstNameProperty)
firstName: string;
@ApiProperty(apiResponse.apiCreateUserLastNameProperty)
lastName: string;
@ApiProperty(apiResponse.apiValidateUserEmail)
email: string;
@ApiProperty(apiResponse.apiValidateUserPass)
password: string;
}