there could possibly be varying opinions on this but, to me, if it's cord and plug connected and you used a 25 amp, then I would think that you needed a #10 wire and 30 amp receptacle. With a receptacle there, on a 25 amp breaker, it would be available for apparatus rated more than the 20 amp #12 limitation.