This commit is contained in:
salam committed 2026-10-04 15:25:03 +02:00
1 parent 9bcd4432c6
commit 6f92f9e1d5
1209 files changed
+220940

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CompetitionGroupProvider extends Model
{
protected $fillable = [
'sport_id',
'add_by_method_id',
'competition_group_id',
'provider_id',
'provider_group_id',
'add_by_method_id',
'name',
];
public function competition_group()
{
return $this->belongsTo(CompetitionGroup::class);
}
public function provider()
{
return $this->belongsTo(Provider::class);
}
public function sport()
{
return $this->belongsTo(Sport::class);
}
public function add_by_method()
{
return $this->belongsTo(AddByMethod::class);
}
}