<?php namespace app\models; use Illuminate\Database\Eloquent\Model; class User extends Model { protected $table = 'user'; protected $fillable = ['username', 'email', 'password_hash', 'role']; protected $dates = ['deleted at']; }