add Custom Groups

This commit is contained in:
salam committed 2026-02-04 19:38:59 +01:00
1 parent c5118a4fd0
commit 6e7ebd7a9e
11 files changed
+216 -14

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ClientGroupList extends Model
{
protected $casts = [
'client_groups' => 'json',
];
protected $fillable = [
'name',
'sport_id',
'client_id',
'client_groups',
];
public function client_group()
{
return $this->belongsTo(CompetitionGroup::class)->with('country');
}
}