A class diagram is a diagram specified in the UML standard by showing:
By comparison with a classic entity relationship model, it adds the behaviors (ie method) of each entity to the model.
Object - Relationship