lasthourcloud/app/Models/Application.php
2023-03-28 12:09:34 +02:00

20 lines
322 B
PHP

<?php
namespace App\Models;
class Application extends BaseModel
{
public function environment()
{
return $this->belongsTo(Environment::class);
}
public function destination()
{
return $this->morphTo();
}
public function source()
{
return $this->morphTo();
}
}