Added generated serial version ID to the entities. Ensure that the id is not set to null by default