Created a class in C++, can't create variable of it in Blueprint

Hello everyone. I created an 'Inventory" class that inherits from UObject. Now, in my blueprint character, i want it to carry a variable of type “Inventory”, but it isn’t showing up in my list of available types! I created another class, “Item” which inherits AActor, and this class shows up properly. Does anyone have an idea why i can’t create an instance of my Inventory class?

Here’s the code for my header file:

#pragma once

#include "Object.h"
#include "Item.h"


#include "Inventory.generated.h"


/**
 * 
 */
UCLASS()
class BARON_API UInventory : public UObject
{
	GENERATED_UCLASS_BODY()
public:

	~UInventory();

	UFUNCTION()
	bool AddItem(AItem *item);

	UFUNCTION()
	bool RemoveItem(AItem *item);
private:
	UPROPERTY()
	TArray<AItem*> Inventory;
	UPROPERTY()
	int32 MaxSizeofInventory;

	
};

Add this UCLASS(BlueprintType) if you want this class exposed as variable in blueprint, add Blueprintable if you want to create blueprint from that class, by default UObject has this turn off.
Check this also if you want any thing else with class: https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/Specifiers/index.html

Thats exactly what i needed, thank you!