Just being curious, what is the added value of the FullNameLeadVO compared
to the FullNameVO?

Just wondering why you don't re-use the FullNameVO... I would say Value
Object should be small and reusable...

On 29 April 2016 at 08:23, Daniel Jimenez Roque <[email protected]>
wrote:

> I found the solution :D
>
> You have to declare an orm.xml file for this Value object and use the
> attribute-overwrites tags, like this:
>
> <embeddable name="Component\Deal\Domain\Model\FullNameLeadVO" >
>         <attribute-overrides>
>             <attribute-override name="firstName">
>                 <field type="string" column="first_name" nullable="false"/>
>             </attribute-override>
>             <attribute-override name="lastName">
>                 <field type="string" column="last_name" nullable="false"/>
>             </attribute-override>
>         </attribute-overrides>
>     </embeddable>
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to