Spankings. Yes or no?

Are spankings ok? I went out with my friends to Olive Garden and we got into discussion about children and a couple of my friends say that spankings are abuse..I remember getting bruises after spankings and never doing what I earned the spankings for ever again 😂 I also am expecting a baby girl in a couple months so what do you guys recommend? Are spankings necessary or abuse?