ValueObjects: Money #270
rodrigoreis
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At ValueObject https://github.com/ivanpaulovich/clean-architecture-manga/blob/main/accounts-api/src/Domain/ValueObjects/Money.cs, wouldn't it be more semantic to call it Exchange? because If currency is a medium of exchange for goods and services. In short, it's money, in the form of paper or coins, usually issued by a government and generally accepted at its face value as a method of payment. There is sense to have a property named Currency in Money Class? Wouldn't it be more interesting if the Currency and Amount properties were related to the name Exchange?
Beta Was this translation helpful? Give feedback.
All reactions