An UCLASS is just a class, you add the UCLASS macro in front ouf any UOBJECT to that UHT (the header tool) generates the extra code needed so that your class is conformed with the engine.
I’m adding some sample code and screenshots so you see the whole process.