invoiceninja/app/Models/User.php

44 lines
745 B
PHP
Raw Normal View History

2018-10-04 20:10:43 +03:00
<?php
namespace App\Models;
2018-10-04 20:10:43 +03:00
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
2018-10-04 20:10:43 +03:00
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'email',
'password',
2018-10-04 20:10:43 +03:00
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
/**
* The attributes that should be casted to native types.
*
* @var array
*
* cast types = 'array, object'
*/
protected $casts = [
'settings' => 'object',
];
2018-10-04 20:10:43 +03:00
}