|
@@ -18,6 +18,10 @@ class RequirementSimpleResource extends JsonResource
|
|
|
'id' => $this->id,
|
|
|
'title' => $this->title,
|
|
|
'description' => $this->description,
|
|
|
+ 'created_at'=>(string)$this->created_at,
|
|
|
+ 'asset' => new AssetParentResource($this->asset),
|
|
|
+ 'status' => $this->status,
|
|
|
+ 'priority' => $this->priority,
|
|
|
];
|
|
|
}
|
|
|
}
|