For University, use classmate.
For Company, use co-worker.
Neither applies to "entering in the same year" but can be used in more diverse situations.
Example:
"My co-worker had been here 3 years and is still teaching me the ropes of the job."
"Even though Anna was a senior, she still took a junior level class so she is my classmate."
Or if you mean literal calling them, just use their name...
Example:
"Hi. Can we discuss yesterday's reports, Mr.Smith?"
"Hey. How are you today, Angie?"
"Hey, classmate, what was your name again?"
"Yo, we're classmates right?
"That's Sam, my co-worker."