add project_id and company_id to reports
update doc
This commit is contained in:
@ -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
|
||||
* ),
|
||||
* )
|
||||
*
|
||||
*
|
||||
|
||||
*)
|
||||
*
|
||||
*/
|
||||
|
Reference in New Issue
Block a user