File

src/contact/request/dto/add-contact-and-check-phone.dto.ts

Extends

AddContactDTO

Index

Properties

Properties

countryCode
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 2, required: false})
active
Type : boolean
Decorators :
@ApiProperty({type: Boolean, required: false})
Inherited from AddContactDTO
Defined in AddContactDTO:25
email
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 320, required: false})
Inherited from AddContactDTO
Defined in AddContactDTO:11
name
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 100})
Inherited from AddContactDTO
Defined in AddContactDTO:5
phone
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 12, required: false, example: '123456789'})
Inherited from AddContactDTO
Defined in AddContactDTO:22
prefix
Type : number
Decorators :
@ApiProperty({type: Number, maxLength: 3, required: false})
Inherited from AddContactDTO
Defined in AddContactDTO:14
surname
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 100})
Inherited from AddContactDTO
Defined in AddContactDTO:8
import { ApiProperty } from '@nestjs/swagger';
import { AddContactDTO } from './add-contact.dto';

export class AddContactAndCheckPhoneDTO extends AddContactDTO {
  @ApiProperty({ type: String, maxLength: 2, required: false })
  countryCode: string;
}

results matching ""

    No results matching ""