<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:34
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class ProductBestSellerResource extends JsonResource { public function toArray($request) { return ["\151\144" => $this->id, "\x74\x79\x70\x65" => $this->type, "\143\x61\x74\x65\147\157\162\x79\x5f\x69\x64" => $this->category_id, "\143\x61\164\145\147\157\x72\171" => $this->category, "\x6d\141\x6e\x75\146\141\143\x74\165\162\145\162\x5f\151\x64" => $this->manufacturer_id, "\155\141\156\165\146\x61\x63\164\x75\x72\x65\162" => $this->manufacturer, "\x70\162\x6f\x64\165\x63\x74\137\151\x64" => $this->product_id, "\160\x72\157\144\x75\x63\164" => $this->product, "\x70\x6f\163\x69\x74\x69\157\x6e" => $this->position, "\x63\x72\x65\141\164\x65\144\137\141\x74" => isset($this->created_at) ? date("\131\x2d\x6d\x2d\x64\x20\x48\72\151\72\163", strtotime($this->created_at)) : null, "\165\160\x64\141\x74\145\144\x5f\x61\x74" => isset($this->updated_at) ? date("\131\x2d\155\55\x64\40\x48\72\151\x3a\163", strtotime($this->updated_at)) : null]; } }