Depends, how properly fixed it is and how many hrs flown since then.
Know one aircraft, where „more or less“ only the typeplate survived - and was rebuild around that, cause some advantages in registration made it worth and cheaper than buying new (with big stock of spareparts available in the company anyway and the mechanics would be busy, when normal maintance were done...)
You should have a close look what was damaged and what was replaced.
Best take somebody from the Future maintanance facility with you to check the bird and the papers before placing a bid