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

25 lines
442 B
PHP

<?php
namespace App\Models;
class Environment extends BaseModel
{
public function project()
{
return $this->belongsTo(Project::class);
}
public function applications()
{
return $this->hasMany(Application::class);
}
public function databases()
{
return $this->hasMany(Database::class);
}
public function services()
{
return $this->hasMany(Service::class);
}
}