Dear fika ayu,
Thanks for reaching out to the wefugees-community!
Your current residencial status with the purpose of studying allows you to work 120 full days or 240 half days in a year. in this calculation every working day with more than four working hours counts as a whole day and every working day with up to four working hours as half a day.
After graduating you can stay in Germany if you work as a highly qualified worker in your field. You can then get the permanent residencial status "Niederlassungserlaubnis" immediately. If you have not found a job in your field after graduating and still need time the job search you can apply for a residencial status with the purpose of finding a job (up to 12 months).
For further information please visit this website: https://www.studying-in-germany.org/working-germany-after-finishing-phd/
If you need assistance and further individualized advice please download our free and confidential messenging app mbeon https://www.mbeon.de/home/.
I hope my answers were helpful and I would be very happy if you would contact me again with further questions. I'm a consultant with mbeon and I‘ll be glad to help you over a longer period of time. Mbeon is an online advice for migrants via the mbeon app, which you can install on your smartphone for free. Download it from App Store or Google Play Store. You can find me in the mbeon app and get confidential individual advice in a secure virtual space without other people reading our conversation. Further information: www.mbeon.de.