Set BaseEntity as abstract