src/loading-bays/dto/assign-bay.dto.ts
Properties |
| vehicleId |
Type : string
|
Decorators :
@ApiProperty({description: 'Vehicle ID to assign to bay'})
|
|
Defined in src/loading-bays/dto/assign-bay.dto.ts:8
|
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;
}