<?php

namespace Modules\Mall\Http\Resources\Api\Order;

use Illuminate\Http\Resources\Json\JsonResource;

class LogisticResource extends JsonResource
{

    public function toArray($request): array
    {
        return [
            'time'     => $this->time,
            'context'  => $this->context,
            'ftime'    => $this->ftime,
            'areaName' => $this->areaName ?? "",
            'status'   => $this->status,
        ];
    }

}