An entity shouldnt have dependencies as @ojhaujjwal says. It is 'only' a data container.