File

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

Index

Properties

Properties

vehicleId
Type : string
Decorators :
@ApiProperty({description: 'Vehicle ID to assign to bay'})
@IsString()
@IsNotEmpty()
import { IsNotEmpty, IsString } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class AssignBayDto {
  @ApiProperty({ description: 'Vehicle ID to assign to bay' })
  @IsString()
  @IsNotEmpty()
  vehicleId: string;
}

results matching ""

    No results matching ""