|
@@ -20,6 +20,7 @@ class RequirementGroupResource extends JsonResource
|
|
|
'id'=>$this->id,
|
|
|
'name'=>$this->name,
|
|
|
'asset_id'=>$this->asset_id,
|
|
|
+ 'abbr_name'=>$this->abbr_name,
|
|
|
'parent_id' => $this->parent_id,
|
|
|
'children' =>$this->parent_id == 0 ? RequirementGroupResource::collection($this->children) : [],
|
|
|
];
|