A kind of story with two meanings, a literal meaning and a symbolic meaning, is called

Aan archetype.
Ba euphemism.
Can allegory.
Dan aphorism.