File

src/feature/users/dto/create.user.dto.ts

Index

Properties

Properties

email
Type : string
Decorators :
@ApiProperty(apiResponse.apiValidateUserEmail)
firstName
Type : string
Decorators :
@ApiProperty(apiResponse.apiCreateUserFirstNameProperty)
lastName
Type : string
Decorators :
@ApiProperty(apiResponse.apiCreateUserLastNameProperty)
password
Type : string
Decorators :
@ApiProperty(apiResponse.apiValidateUserPass)
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;
}

results matching ""

    No results matching ""