fixed generated equals method, added override annotations to generated methods