Files
ticketbeast/app/User.php
2018-01-19 11:35:30 -05:00

19 lines
301 B
PHP

<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
protected $guarded = [];
public function concerts()
{
return $this->hasMany(Concert::class);
}
}