This commit is contained in:
2025-12-13 21:39:35 +03:30
parent 212f6c44f7
commit 835f2a3853
4 changed files with 16 additions and 7 deletions
@@ -84,4 +84,9 @@ export class RestaurantSpecificationDto {
@ApiPropertyOptional({ example: 0.09, description: 'VAT rate (e.g., 0.09 for 9%)' })
vat?: number;
@ApiPropertyOptional({ example: { registerScore: 100 }, description: 'Score' })
score?: {
registerScore?: number;
};
}
@@ -1,8 +1,7 @@
import { Injectable, NotFoundException } from '@nestjs/common';
import { CreateRestaurantDto } from '../dto/create-restaurant.dto';
import { UpdateRestaurantDto } from '../dto/update-restaurant.dto';
import { RestaurantSpecificationDto } from '../dto/restaurant-specification.dto';
import { Restaurant } from '../entities/restaurant.entity';
import { Restaurant } from '../entities/restaurant.entity';
import { EntityManager } from '@mikro-orm/postgresql';
import { RestRepository } from '../repositories/rest.repository';
import { RestMessage } from 'src/common/enums/message.enum';