*/ protected $fillable = [ 'id', 'name', 'username', 'role_id', 'password', 'created_at', 'updated_at' ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password' ]; /** * Get the attributes that should be cast. * * @return array */ }