Files
core/app/Models/User.php
T
Michal Kváček 4ab361adeb FEATURE #1358: prepare environment for login
Initialize routes, middleware and some basic controllers/view for further implementation.
2016-01-20 21:01:53 +01:00

35 lines
517 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class User
*/
class User extends Model
{
public $timestamps = false;
protected $fillable = [
'email',
'username',
'password',
'remember_token',
'name',
'status'
];
protected $guarded = [];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
}