Laravel Community Select Fields
public function user()
{
return $this->belongsTo('User')->select(['id', 'username']);
}
Shadow
public function user()
{
return $this->belongsTo('User')->select(['id', 'username']);
}