lasthourcloud/app/Models/StandaloneDocker.php
Andras Bacsai 4df66ebf00 wip
2023-03-28 15:47:37 +02:00

16 lines
279 B
PHP

<?php
namespace App\Models;
class StandaloneDocker extends BaseModel
{
public function applications()
{
return $this->morphMany(Application::class, 'destination');
}
public function server()
{
return $this->belongsTo(Server::class);
}
}