What is a good weapon class hierarchy to cover both melee and ranged weapons?

Look at this I want a kind of similar approach to it without losing inheritance advantages