Дополнительная информация о проекте в отчете
This commit is contained in:
1 parent
1a250c4b00
commit
f7ea110e33
3 files changed
+37
-5
No files matched your search
@@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user