<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Model
{
    //use Notifiable;
    public $timestamps = false;

    protected $redirectPath = '/admin/login';



    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    //protected $fillable = [
      //  'name', 'email', 'password',
    //];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password',
        'salt',
        'last_login',
        'expires_at',
        'confirmation_token',
        'password_requested_at',
        'roles', 'credentials_expired',
        'credentials_expire_at',
        'email_canonical',
        'email',
        'username_canonical',
        'address_id',
        'expired'
    ];

    protected $table = "users";



}
