$shop->getRouteKey(), 'key' => [ 'public' => $shop->getPublicKey(), 'route' => $shop->getRouteKey(), ], 'id' => $shop->id, 'user_id' => $shop->user_id, 'user_type' => $shop->user_type, 'country_id' => $shop->country_id, 'state_id' => $shop->state_id, 'district_id' => $shop->district_id, 'location_id' => $shop->location_id, 'parent_id' => $shop->parent_id, 'name' => $shop->name, 'address' => $shop->address, 'description' => $shop->description, 'phone' => $shop->phone, 'website' => $shop->website, 'email' => $shop->email, 'working_hours' => $shop->working_hours, 'logo' => $shop->logo, 'main_branch' => $shop->main_branch, 'images' => $shop->images, 'latitude' => $shop->latitude, 'longitude' => $shop->longitude, 'slug' => $shop->slug, 'published' => $shop->published, 'upload_folder' => $shop->upload_folder, 'created_at' => $shop->created_at, 'updated_at' => $shop->updated_at, 'deleted_at' => $shop->deleted_at, 'url' => [ 'public' => trans_url('deal/'.$shop->getPublicKey()), 'user' => guard_url('deal/shop/'.$shop->getRouteKey()), ], 'status' => trans('app.'.$shop->status), 'created_at' => format_date($shop->created_at), 'updated_at' => format_date($shop->updated_at), ]; } }