lasthourcloud/app/Models/GithubApp.php

16 lines
275 B
PHP
Raw Normal View History

2023-03-28 10:09:34 +00:00
<?php
namespace App\Models;
class GithubApp extends BaseModel
{
public function applications()
{
return $this->morphMany(Application::class, 'source');
}
public function privateKey()
{
return $this->belongsTo(PrivateKey::class);
}
2023-03-28 10:09:34 +00:00
}