Modular Enemies

Hey I was wondering what a modular enemy is? I currently am being assigned to code something where there is class for an enemy but within that large class, there are other enemies or child classes that are different, they could have different stats or effect on the player. How do I go about making something like this? Hopefully this makes sense