task manager

This commit is contained in:
2023-04-25 01:32:15 +03:00
parent 5508fcb1ee
commit 226f2daa34
18 changed files with 746 additions and 85 deletions

View File

@ -14,7 +14,7 @@ use yii\web\Linkable;
* @OA\Property(
* property="id",
* type="int",
* example=1,
* example=95,
* description="Идентификатор проекта"
* ),
* @OA\Property(
@ -45,6 +45,10 @@ use yii\web\Linkable;
* property="company",
* ref="#/components/schemas/Company",
* ),
* @OA\Property(
* property="columns",
* ref="#/components/schemas/ProjectColumnExample",
* ),
*)
*
* @OA\Schema(
@ -100,13 +104,14 @@ class Project extends \common\models\Project
'owner_id',
'company' => function() {
return $this->company;
}
},
];
}
public function extraFields(): array
{
return [];
return ['columns',];
}
public function getLinks(): array