Damage is displayed as DPS (damage per second).
It ignores delays due to burst firing, bonuses/penalties for headshots/limbshots, and the fact that when you’re on full-auto and not burst firing, you WILL miss LOTS.
Factor that in, and the stats are accurate.
Shotguns fire slowly enough that their DPS is actually lower than ARs - but they do MUCH more damage with each shot.