25 lines
398 B
PHP
25 lines
398 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Client extends Model
|
|
{
|
|
protected $fillable = [
|
|
'name',
|
|
'email',
|
|
'homepage',
|
|
];
|
|
|
|
public function client_sports()
|
|
{
|
|
return $this->hasMany(ClientSports::class);
|
|
}
|
|
|
|
public function client_bookmaker()
|
|
{
|
|
return $this->hasMany(ClientBookmaker::class);
|
|
}
|
|
}
|