change entity => superClass for inheritance