I have a field client_code in my Customer Entity. I added this field in my CustomerType like this :
client_code
Customer
CustomerType
$builde