BusinessPhotoResponseDto
idnumberrequired
ID фотографии
Example:
1businessIdnumberrequired
ID бизнеса
Example:
1urlstringrequired
URL фотографии (WebP формат)
Example:
https://cdn.example.com/business-photos/1/photo.webpthumbnailUrlstring
URL thumbnail фотографии
Example:
https://cdn.example.com/business-photos/1/photo_thumb.webpordernumberrequired
Порядок отображения
Example:
0captionstring
Подпись к фотографии
Example:
Наш уютный интерьерwidthnumber
Ширина изображения в пикселях
Example:
1920heightnumber
Высота изображения в пикселях
Example:
1080fileSizenumber
Размер файла в байтах
Example:
245760createdAtstring<date-time>required
Дата создания
Example:
2024-01-01T00:00:00.000ZBusinessPhotoResponseDto
{
"id": 1,
"businessId": 1,
"url": "https://cdn.example.com/business-photos/1/photo.webp",
"thumbnailUrl": "https://cdn.example.com/business-photos/1/photo_thumb.webp",
"order": 0,
"caption": "Наш уютный интерьер",
"width": 1920,
"height": 1080,
"fileSize": 245760,
"createdAt": "2024-01-01T00:00:00.000Z"
}