UPROPERTY(EditAnywhere, BlueprintReadWrite) TSubclassOf<UObject> MyObjectClass;
How it looks in the details panel:
More info on creating object from TSubclassOf here
TSubclassOf