$this->id, 'name' => $this->name, 'reference' => $this->company()->first()->reference, 'type' => (int) $this->type, 'status' => (int) $this->status ]; } }