Files
nuhodds_fi4/app/Models/ClientSport.php
T
2025-08-22 10:17:00 +02:00

25 lines
382 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ClientSport extends Model
{
protected $fillable = [
'client_id',
'sport_id',
'is_active',
];
public function client()
{
return $this->belongsTo(Client::class);
}
public function sport()
{
return $this->belongsTo(Sport::class);
}
}