Move models to their own subdirectory

This commit is contained in:
Jonny Barnes 2017-12-19 16:00:42 +00:00
parent 2c5b0f3ab5
commit 2a0d188313
67 changed files with 82 additions and 86 deletions

29
app/Models/User.php Normal file
View file

@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* 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', 'remember_token',
];
}