Report question

Question: What is the best practice when implementing equals() for entities with generated ids