Created base entity that defines entity equality based on entity ID