lasthourcloud/app/Models/GitlabApp.php
2023-04-25 14:43:35 +02:00

16 lines
275 B
PHP

<?php
namespace App\Models;
class GitlabApp extends BaseModel
{
public function applications()
{
return $this->morphMany(Application::class, 'source');
}
public function privateKey()
{
return $this->belongsTo(PrivateKey::class);
}
}