It is never a good idea to buy a dog to entertain energetic children. By all means a family dog makes a family happy but little snappy breeds plus hyper kids often equals bite followed by euthanasia of dog. If you take your child to the hospital you will get huge grief from the doctors who may threaten to call the Police. Children should never be left unsupervised with dogs and dogs should never be depended on to work off children's energy.
I may sound like I am preaching but feel qualified after years working in a Doha vet clinic and seeing the sadness of untrained (because they didn't bother to)snappy little small breed dogs put to sleep or dumped because through no fault of its own it growled at the kids.