lasthourcloud/app/Models/GitlabApp.php
2023-08-08 11:51:36 +02:00

22 lines
357 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);
}
}