I've run into that same situation with my grandchildren's chromebooks where the charging port has been damaged by rough handling. My repairs were slightly difficult in that I had to locate replacement components, unsolder the old jacks and solder the new ones in.
Assuming you are working on a Yoga 710, you're actually in luck with regard to the charging port. Rather than being mounted on the motherboard, it's attached to the motherboard with a cable, and even better, you can buy that cable right here on iFixit!
Lenovo IdeaPad Yoga 710-14 DC-IN Cable
Assuming you can work a screwdriver, this is actually an easy repair. You just have to take off the bottom case and the cable is right there out in the open for you to get to. Here's the first step.
Lenovo Yoga 710-14IKB Back Cover Replacement - iFixit Repair Guide
Once you have it open, you'll be able to see the cable. I've marked the power jack with a red rectangle and the plug where it connects to the motherboard with an orange one.
You should be able to remove the old cable just by removing the single screw holding down the power jack (circled in red).
Then just unplug it from the motherboard and you should be all set.
Follow the instructions in reverse to reassemble your laptop and enjoy your fixed machine!
Good luck and let us know how it goes.
P.S., I actually ran across the official Lenovo Hardware Maintenance Manual for your laptop, and it does have instructions for replacing the power jack (or DC Input Cable as they call it). However, it seems to make the process much more difficult than it should be. You can look it over (the relevant section starts on Page 50) and make your own decision, but personally I think what I've outlined here will do the job for you.
YOGA 710 1415 HMM