bid-tool/auto-bid-server/src/modules/bids/dto/bid/client-update-bid.dto.ts

28 lines
418 B
TypeScript

import { IsNumber, IsOptional, IsString } from 'class-validator';
export class ClientUpdateBidDto {
@IsString()
@IsOptional()
lot_id: string;
@IsString()
@IsOptional()
model: string;
@IsOptional()
@IsString()
close_time: string | null;
@IsString()
@IsOptional()
name: string;
@IsNumber()
@IsOptional()
current_price: number;
@IsNumber()
@IsOptional()
reserve_price: number;
}