Initial commit

This commit is contained in:
Kwesi Banson Jnr
2026-08-04 14:50:01 +00:00
commit 2cfcfade4e
1605 changed files with 499334 additions and 0 deletions

22
app/Models/Organisation.php Executable file
View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Organisation extends Model
{
protected $guarded = [
'id'
];
public function orgUserInfo()
{
return $this->hasMany('App\Models\OrgUser', 'org_id', 'id');
}
public function userInfo()
{
return $this->hasOne('App\User', 'id', 'user_id');
}
}