File

src/loading-bays/dto/update-loading-bay.dto.ts

Extends

PartialType(CreateLoadingBayDto)

Index

Properties

Properties

Optional isActive
Type : boolean
Decorators :
@ApiPropertyOptional()
@IsOptional()
@IsBoolean()
import { PartialType } from '@nestjs/swagger';
import { CreateLoadingBayDto } from './create-loading-bay.dto';
import { IsOptional, IsBoolean } from 'class-validator';
import { ApiPropertyOptional } from '@nestjs/swagger';

export class UpdateLoadingBayDto extends PartialType(CreateLoadingBayDto) {
  @ApiPropertyOptional()
  @IsOptional()
  @IsBoolean()
  isActive?: boolean;
}

results matching ""

    No results matching ""