public function stores(){
return $this->hasMany('App\Store');
}
public function branch()
{
return $this->belongsTo('App\Branch');
}
public function getStoresOfParentBranch(){
return $this->branch()->stores();
}
$store->branch->stores;
Store::with('branch.stores')
->get();