12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace App\Shop\Employees;
- use Illuminate\Database\Eloquent\SoftDeletes;
- use Illuminate\Notifications\Notifiable;
- use Illuminate\Foundation\Auth\User as Authenticatable;
- use Laratrust\Traits\LaratrustUserTrait;
- class Employee extends Authenticatable
- {
- use Notifiable, SoftDeletes, LaratrustUserTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $fillable = [
- 'name',
- 'email',
- 'password',
- 'status'
- ];
- /**
- * The attributes that should be hidden for arrays.
- *
- * @var array
- */
- protected $hidden = [
- 'password',
- 'remember_token',
- ];
- protected $dates = ['deleted_at'];
- }
|