Add images property to CreateRestaurantDto and Restaurant entity; update UploaderController with AdminAuthGuard and API tags for enhanced security and documentation.
This commit is contained in:
@@ -63,6 +63,10 @@ export class Restaurant extends BaseEntity {
|
||||
@Property({ nullable: true, type: 'json' })
|
||||
tagNames?: string[];
|
||||
|
||||
// --- تصاویر ---
|
||||
@Property({ nullable: true, type: 'json' })
|
||||
images?: string[];
|
||||
|
||||
// --- مالیات یا VAT ---
|
||||
@Property({ type: 'decimal', default: 0 })
|
||||
vat?: number = 0;
|
||||
|
||||
Reference in New Issue
Block a user