src/feature/users/dto/update.user.dto.ts
Properties |
firstName |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiCreateUserFirstNameProperty)
|
Defined in src/feature/users/dto/update.user.dto.ts:7
|
isActive |
Type : boolean
|
Decorators :
@ApiProperty(apiResponse.apiUpdateUserBoolProperty)
|
Defined in src/feature/users/dto/update.user.dto.ts:13
|
lastName |
Type : string
|
Decorators :
@ApiProperty(apiResponse.apiCreateUserLastNameProperty)
|
Defined in src/feature/users/dto/update.user.dto.ts:10
|
import { ApiProperty } from '@nestjs/swagger';
import { apiResponse } from '@app/feature/users/constants/api.response.dto';
export class UpdateUserDto {
@ApiProperty(apiResponse.apiCreateUserFirstNameProperty)
firstName: string;
@ApiProperty(apiResponse.apiCreateUserLastNameProperty)
lastName: string;
@ApiProperty(apiResponse.apiUpdateUserBoolProperty)
isActive: boolean;
}