Please don't put your dogs in this position. Toddlers and small children sometimes bring out the worst in dogs. The dog may tolerate a small amount of abuse as it would from a puppy, but at some point, puppies get nipped or smashed with a paw if they don't heed the preliminary warnings. There's no way your human children will see those warnings, which tend to be pretty subtle and silent.
Then, when "corrected" by the dog via a paw or snarl or snap, their reaction will be the worst possible reaction -- usually shrieking and running, which will provoke the dog to smack them down, because a PUPPY's correct response would be to lie still and surrender, and that's what the dog is looking for and demanding.
It's not the children's fault, and it's not the dogs' fault. But they need to always be supervised, and children taught from a very young age that dogs do not like being hugged, hung on, or pestered in general.
Even if your dog truly is the most patient and loving of dogs, and will tolerate whatever's dished out, the next dog your child tries that with may not be, and it only takes a moment for a tragedy to happen.
A great many facial bites to children come from hugging dogs. They're never too young to learn that that's not acceptable.