How many miles can you get out of a Hyundai Elantra

There was no service on the transmission prior to when I bought it (at 25,000 miles). The tires were a bit worn at 25,000 miles and I wonder if the previous owner really beat the car up somehow.