🆙 Added fixed cms

This commit is contained in:
Remco
2026-01-07 19:32:43 +01:00
parent fdb0dc276d
commit 711fa2c29e
3992 changed files with 183381 additions and 0 deletions
@@ -0,0 +1,31 @@
<?php
namespace App\Models\Community\Staff;
use App\Models\Game\Permission;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class WebsiteStaffApplications extends Model
{
protected $guarded = ['id'];
protected $table = 'website_staff_applications';
protected $fillable = [
'user_id',
'rank_id',
'content',
];
public function rank(): BelongsTo
{
return $this->belongsTo(Permission::class, 'rank_id');
}
public function user(): BelongsTo
{
return $this->belongsTo(User::class, 'user_id');
}
}