Created
August 28, 2017 11:09
-
-
Save nkenna/9287033c22364407c9450b07b4e72945 to your computer and use it in GitHub Desktop.
fillables in Worker model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use Illuminate\Foundation\Auth\User as Authenticatable; | |
class Worker extends Authenticatable | |
{ | |
protected $fillable = [ | |
'phone', 'email', 'password', 'firstname', | |
'middlename', 'lastname', 'dod', 'address', | |
'activated', 'completejobs', 'rating', 'numofrating', 'resident', 'residentlga', | |
'lastlocation', 'skill1', 'skill2', 'ref','image' | |
]; | |
protected $hidden = [ | |
'password', 'remember_token', | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment