$this->id, 'key' => $this->key, 'items_count' => $this->when(isset($this->items_count), fn () => (int) $this->items_count), 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ]; } }