error: redefinition of ‘class Customer’

C++
#ifndef Included_NameModel_H
#define Included_NameModel_H

// Existing code goes here

#endif // Included_NameModel_H 
Source

Also in C++: