add project_id and company_id to reports

update doc
This commit is contained in:
iIronside
2023-11-03 12:01:29 +03:00
parent 52f8cb312f
commit ae44789200
7 changed files with 589 additions and 12 deletions

View File

@ -153,6 +153,51 @@ namespace frontend\modules\api\models;
* type="string",
* example="/profileava/m8.png"
* ),
*)
*
* @OA\Schema(
* schema="ProjectTaskReportsExample",
* type="array",
* @OA\Items(
* @OA\Property(
* property="id",
* type="integer",
* example=1
* ),
* @OA\Property(
* property="report_id",
* type="integer",
* example=12
* ),
* @OA\Property(
* property="task",
* type="string",
* example="Задача"
* ),
* @OA\Property(
* property="hours_spent",
* type="integer",
* example=2
* ),
* @OA\Property(
* property="created_at",
* type="integer",
* example=1671148800
* ),
* @OA\Property(
* property="status",
* type="integer",
* example=1
* ),
* @OA\Property(
* property="minutes_spent",
* type="integer",
* example=0
* ),
* )
*
*
*)
*
*/