mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 05:58:18 +00:00
18 lines
391 B
TypeScript
18 lines
391 B
TypeScript
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
import { IsOptional, IsString, IsUUID } from 'class-validator';
|
|
|
|
export class ReserveInventoryDto {
|
|
@ApiProperty({ format: 'uuid' })
|
|
@IsUUID()
|
|
bookingId!: string;
|
|
|
|
@ApiProperty({ format: 'uuid' })
|
|
@IsUUID()
|
|
inventoryId!: string;
|
|
|
|
@ApiPropertyOptional()
|
|
@IsOptional()
|
|
@IsString()
|
|
performedBy?: string;
|
|
}
|