I had to work in//as // for part-time while I was studying in the university.
Which preposition should I use in sentence above? Should I say “ work in part-time” or “work as part-time”or “work for part-time” ?I try to understand how “ part time is used as an adverb?