src/Models/Tree.php
public function children()
	{
		$builder = $this->hasMany(get_class($this), $this->parentKey, $this->getKeyName());
		!empty($this->orderKey) && $builder->orderBy($this->orderKey, 'ASC');
		return $builder;
	}
public function children()
	{
		$builder = $this->hasMany(get_class($this), $this->parentKey, $this->getKeyName());
		!empty($this->orderKey) && $builder->orderBy($this->orderKey, 'ASC');
		return $builder;
	}
relation