ewallet/src/Adapters/Doctrine/Ewallet/Resources/config/Money.Currency.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
<embeddable name="Money\Currency">
<field name="code" type="string" />
</embeddable>
</doctrine-mapping>