src/common/dtos/abstract-check.dto.ts
Properties |
|
constructor(exist: any)
|
||||||
Defined in src/common/dtos/abstract-check.dto.ts:5
|
||||||
Parameters :
|
Readonly exist |
Type : boolean
|
Decorators :
@ApiProperty()
|
Defined in src/common/dtos/abstract-check.dto.ts:5
|
import { ApiProperty } from '@nestjs/swagger';
export class AbstractCheckDto {
@ApiProperty()
readonly exist: boolean;
constructor(exist: any) {
this.exist = exist ? true : false;
}
}