Artteiv's picture
feat: add menu item and module and migrations
d9eec61
raw
history blame
392 Bytes
import { IsNumber, IsOptional, IsString, IsUrl } from 'class-validator';
export class UpdateMenuItemDto {
@IsString()
@IsOptional()
item_name: string;
@IsUrl()
@IsOptional()
image_url: string;
@IsString()
@IsOptional()
item_group_id?: string;
@IsString()
@IsOptional()
description?: string;
@IsNumber()
@IsOptional()
price: number;
}