Дополнительная информация о проекте в отчете
This commit is contained in:
@ -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