With the marxist definitions. Class is determined by your relationship to the mode of production, they are extremely specific because that is literally a requirement of doing anything scientific with them. A simple explanation is here: www.reddit.com/r/socialism/wiki/class/
I personally wrote the first iteration of that page when I was a moderator there.