lasthourcloud/app/Models/GitlabApp.php
Andras Bacsai 8daad8f8b8 fixes
2023-06-16 12:00:36 +02:00

20 lines
355 B
PHP

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