Building a base underwater in Garry's Mod that stays dry isn't really possible within GMod itself—at least not with the standard tools.
The workaround is to build it in a proper level editor. Using the Hammer editor, you can create a map, add water, and then remove the water from the specific areas where you want your base to stay dry. If you own Counter-Strike: Source, you can map with that, and Team Fortress 2 works too. Other Source games may also let you build maps, though I'm not certain which ones.
Once your map is finished, export it to whichever game you used, then load and play it in Garry's Mod. Hope that helps!