find all rest

This commit is contained in:
2026-06-21 16:34:23 +03:30
parent d6e3f78e41
commit 449cd89287
16 changed files with 75 additions and 93019 deletions
@@ -0,0 +1,22 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
export class ActiveRestaurantListItemDto {
@ApiProperty({ example: 'zhivan', description: 'Restaurant slug' })
slug!: string;
@ApiProperty({ example: 'کافه ژیوان', description: 'Restaurant name' })
name!: string;
@ApiPropertyOptional({ example: 'بهترین کافه تهران', description: 'SEO title' })
title?: string;
@ApiPropertyOptional({ example: 'تهران، خیابان ولیعصر پلاک ۱۲۳', description: 'Address' })
address?: string;
@ApiPropertyOptional({ example: 'https://example.com/logo.png', description: 'Logo URL' })
logo?: string;
@ApiPropertyOptional({ example: 2020, description: 'Established year' })
establishedYear?: number;
}