up
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user