In my area teachers get paid 190 day/year (180 teaching, I think the remaining 10 5 personal development and 5 split between grading and prep before the school year). Most spend another few days doing other things, the pay is paid out over 12 months, but earned at time of service (relevant if someone quits).
even at working 200 days, that's a lot of time off (normal work person is 260 days - 10 or 20 vacation - 5 holidays for 235, the teacher gets 7 extra weeks off).
I don't was to say teachers are over or under paid (it really does vary a lot), but it is pretty much the only career that gives you so much time off
If schools limit teachers to 3 preps (they're supposed to here, but don't), and give them a planning period (again they don't really do that as much as they're supposed to here), the amount of work outside of school is fairly minimal, especially keeping in mind a 7 hour official work day (7:30-3:00 with half hour lunch).
After a few years of teaching, the amount of time spent outside class drops dramatically as one has built up worksheets, lessons, etc, to share with the class.