The idiom "a lot of class" means having a great deal of style, sophistication or refinement. It is used to describe someone who has good manners and behaves in an elegant way. The person may be well-educated, cultured, and have impeccable taste. In short, the phrase refers to someone who possesses many positive qualities that make them stand out from others as a person of high social standing or character.