fix detach fail, marks

This commit is contained in:
2023-10-06 00:37:46 +03:00
parent 5cdd516696
commit 21b0135c68
11 changed files with 643 additions and 2 deletions

View File

@ -0,0 +1,44 @@
<?php
namespace frontend\modules\api\models;
/**
*
* @OA\Schema(
* schema="MarkEntity",
* @OA\Property(
* property="id",
* type="int",
* example=1,
* description="Идентификатор метки"
* ),
* @OA\Property(
* property="mark_id",
* type="integer",
* example=1,
* description="Идентификатор метки"
* ),
* @OA\Property(
* property="mark",
* ref="#/components/schemas/MarkExample",
* description="Файл"
* ),
* @OA\Property(
* property="entity_type",
* type="integer",
* example=2,
* description="Идентификатор типа сущности"
* ),
* @OA\Property(
* property="entity_id",
* type="integer",
* example=24,
* description="Идентификатор сущности"
* ),
*)
*
*/
class MarkEntity extends \common\models\MarkEntity
{
}