|
|
|
@@ -1,9 +1,10 @@
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
|
use Zizaco\Entrust\Traits\EntrustUserTrait;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* App\User
|
|
|
|
@@ -17,18 +18,19 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
|
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
|
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
|
|
|
|
|
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $unreadNotifications
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereId($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereName($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereEmail($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User wherePassword($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereRememberToken($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereCreatedAt($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\User whereUpdatedAt($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereId($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereName($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereEmail($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User wherePassword($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereRememberToken($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereCreatedAt($value)
|
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\App\Models\User whereUpdatedAt($value)
|
|
|
|
|
* @mixin \Eloquent
|
|
|
|
|
*/
|
|
|
|
|
class User extends Authenticatable
|
|
|
|
|
{
|
|
|
|
|
use Notifiable;
|
|
|
|
|
use EntrustUserTrait;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The attributes that are mass assignable.
|