mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-22 16:23:45 +02:00
Completed model updates for Services
This commit is contained in:
@@ -56,4 +56,14 @@ class ServicePack extends Model
|
||||
'selectable' => 'boolean',
|
||||
'visible' => 'boolean',
|
||||
];
|
||||
|
||||
/**
|
||||
* Gets option associated with a service pack.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function option()
|
||||
{
|
||||
return $this->belongsTo(ServiceOptions::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user