We had a generator in our Class C and it was handy (mostly for keeping the fridge on while driving) and we’ll probably end up getting a portable unit to stick in the truck bed and plug the trailer into.
Everyone advised against getting the on-board propane-powered one, since they suck up a TON of propane, apparently.