*/ protected $fillable = [ 'email', 'username', 'password', 'role', 'active', ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'updated_at', 'created_at' ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; }