<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:29
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class ArticleResource extends JsonResource { public function toArray($request) { return ["\x69\x64" => $this->id, "\x74\x69\x74\x6c\x65" => $this->title, "\163\x6c\165\x67" => $this->slug, "\x64\x65\x73\x63\x72\x69\x70\x74\151\x6f\x6e" => $this->description, "\x65\144\x69\x74\157\162" => $this->editor, "\x67\165\x5f\143\x6f\156\164\145\x6e\164" => $this->gu_content, "\x63\x6f\x6e\164\x65\x6e\164" => $this->content, "\164\x68\x75\x6d\x62\156\x61\x69\154" => $this->thumbnail, "\x73\150\157\x70\137\151\144" => $this->shop_id, "\x66\x6f\x72\164\165\156\145\137\x74\145\x6c\154\x65\x72\x5f\x69\144" => $this->fortune_teller_id, "\153\145\171\167\157\162\144" => $this->keyword, "\x6b\x65\x79\x77\x6f\162\144\137\144\x65\x74\141\151\x6c" => isset($this->keyword_detail) ? $this->keyword_detail : [], "\164\x61\147" => $this->tag, "\160\165\x62\154\151\163\150\x5f\x61\x74" => $this->publish_at, "\160\x72\145\166\x69\x65\167" => $this->preview, "\151\155\x70\157\162\164\x61\156\x74" => $this->important, "\x74\x65\154\x6c\145\x72" => isset($this->teller) ? $this->teller : [], "\x75\x73\145\162\x5f\x69\144" => $this->user_id, "\165\x73\x65\x72" => isset($this->user) ? $this->user : null, "\143\162\145\x61\x74\x65\144\137\x62\x79" => isset($this->created_by) ? $this->created_by : null, "\141\165\x74\150\x6f\162" => isset($this->author) ? $this->author : null, "\146\145\141\x74\165\162\145" => isset($this->feature) ? $this->feature : [], "\x63\141\x74\145\x67\x6f\162\x79" => isset($this->category) ? $this->category : [], "\x74\171\x70\x65" => $this->type, "\161\165\x65\163\x74\x69\157\156\137\x73\164\141\x74\x75\x73" => $this->question_status, "\x69\x73\x5f\x70\165\x62\x6c\151\163\150\145\144" => $this->is_published, "\151\163\137\160\151\x63\x6b\137\x75\160" => $this->is_pick_up, "\151\x73\x5f\x74\157\160\137\x70\x69\143\x6b\x5f\165\x70" => $this->is_top_pick_up, "\151\x73\x5f\141\x63\x74\x69\166\x61\x74\x65\144" => $this->is_activated, "\x69\163\137\144\145\154\x65\x74\145\x64" => $this->is_deleted, "\143\x72\145\x61\x74\x65\144\x5f\141\164" => isset($this->created_at) ? date("\131\x2d\155\x2d\144\x20\110\72\151\x3a\x73", strtotime($this->created_at)) : null, "\x75\160\x64\141\x74\x65\144\x5f\x61\164" => isset($this->updated_at) ? date("\131\x2d\x6d\55\144\x20\110\x3a\151\72\x73", strtotime($this->updated_at)) : null]; } }