xxxxxxxxxx
With GENERATED_BODY() by default all the variable is private, so you must add public: before it something like this
xxxxxxxxxx
With GENERATED_BODY() by default all the variable is private, so you must add public: before it something like this