first commit

This commit is contained in:
2025-03-27 12:25:27 +00:00
commit 25428dbd31
261 changed files with 23580 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use App\Enums\OrganisationRole;
use Illuminate\Database\Eloquent\Relations\MorphPivot;
class OrganisationUser extends MorphPivot
{
protected $guarded = [];
protected function casts(): array
{
return [
'role' => OrganisationRole::class,
];
}
}