A class code is a three or four-digit numerical identifier given by NCCI or a State Rating Bureau like California's WCIRB. The class code distinguishes one employment position from another by assigning a code to each job duty or area of work performed.