implement toInstance of CustomerBean