Дополнительная информация о проекте в отчете

This commit is contained in:
2024-02-15 23:48:44 +03:00
parent 1a250c4b00
commit f7ea110e33
3 changed files with 37 additions and 5 deletions

View File

@ -136,6 +136,10 @@ namespace frontend\modules\api\models;
* property="task",
* ref="#/components/schemas/ProjectTaskReportsExample",
* ),
* @OA\Property(
* property="project",
* ref="#/components/schemas/ProjectExample",
* ),
* ),
*)
*
@ -143,4 +147,23 @@ namespace frontend\modules\api\models;
class Reports extends \common\models\Reports
{
/**
* @return string[]
*/
public function fields(): array
{
return [
'difficulties',
'tomorrow',
'created_at',
'status',
'user_card_id',
'user_id',
'project_id',
'project',
'company_id',
'task',
];
}
}