<?php

namespace App\Http\Resources\Admin;

use Illuminate\Http\Resources\Json\JsonResource;

class ShopCsvResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'id'               => $this->id,
            'type'             => $this->type,
            'status'           => $this->status,
            'csv_id'           => $this->csv_id,
            'csv_area'         => $this->csv_area,
            'csv_name'         => $this->csv_name,
            'csv_fee'          => $this->csv_fee,
            'csv_budget'       => $this->csv_budget,
            'csv_benefits'     => $this->csv_benefits,
            'csv_number'       => $this->csv_number,
            'csv_operation'    => $this->csv_operation,
            'csv_review'       => $this->csv_review,
            'csv_evaluation'   => $this->csv_evaluation,
            'csv_description'  => $this->csv_description,
            'csv_logo'         => $this->csv_logo,
            'csv_image'        => $this->csv_image,
            'csv_method'       => $this->csv_method,
            'csv_info_name'    => $this->csv_info_name,
            'csv_info_value'   => $this->csv_info_value,
            'csv_search'       => $this->csv_search,
            'csv_activated'    => $this->csv_activated,
            'csv_seo_title'    => $this->csv_seo_title,
            'csv_seo_keywords' => $this->csv_seo_keywords,
            'csv_seo_desc'     => $this->csv_seo_desc,
            'csv_seo_image'    => $this->csv_seo_image,
        ];
    }
}
