kenken999's picture
add php laravel
dad4394
raw
history blame
234 Bytes
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Team extends Model
{
protected $fillable = [
'name',
];
public function users()
{
return $this->belongsToMany(User::class);
}
}