Перейти до основного вмісту

BusinessPhotoResponseDto

idnumberrequired

ID фотографии

Example: 1
businessIdnumberrequired

ID бизнеса

Example: 1
urlstringrequired

URL фотографии (WebP формат)

Example: https://cdn.example.com/business-photos/1/photo.webp
thumbnailUrlstring

URL thumbnail фотографии

Example: https://cdn.example.com/business-photos/1/photo_thumb.webp
ordernumberrequired

Порядок отображения

Example: 0
captionstring

Подпись к фотографии

Example: Наш уютный интерьер
widthnumber

Ширина изображения в пикселях

Example: 1920
heightnumber

Высота изображения в пикселях

Example: 1080
fileSizenumber

Размер файла в байтах

Example: 245760
createdAtstring<date-time>required

Дата создания

Example: 2024-01-01T00:00:00.000Z
BusinessPhotoResponseDto
{
"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"
}