Can an entity be inherited from a value object?
Fabrício Cabral <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <CAKUebb9KFKkW-hG71VN4AmAAtEc9wQTgjPJj9jQPE++Q8ZQsLA@mail.gmail.com> |
Hello everybody! I have a conceptual doubt: can an entity be inherited from a value object? For example, I have a class A which is a VO. So, can a class B which is an entity extends this class A? Could anyone give me a *real* example of this? Thanks in advance. -- --fx