You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
585 B
36 lines
585 B
2 years ago
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
namespace App\DTO;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* DTO описывающая галерею
|
||
|
*
|
||
|
* @OA\Schema(
|
||
|
* title="Gallery"
|
||
|
* )
|
||
|
*/
|
||
|
class Gallery
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
/**
|
||
|
* @OA\Property(
|
||
|
* title="Имя галереи",
|
||
|
* )
|
||
|
* @var string
|
||
|
*/
|
||
|
public $name;
|
||
|
|
||
|
/**
|
||
|
* @OA\Property(
|
||
|
* title="Список фотографий",
|
||
|
* @OA\Items(type="string")
|
||
|
* )
|
||
|
* @var array
|
||
|
*/
|
||
|
public $files;
|
||
|
}
|