Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency code should be configurable wherever currencies are specified (i.e. cost, price) #666

Open
jmiranda opened this issue Dec 4, 2018 · 0 comments

Comments

@jmiranda
Copy link
Member

jmiranda commented Dec 4, 2018

Consider defining a new domain called Money or Currency (with an amount and currency code) and use the GORM's embedded feature. Might need to make this a Groovy class and not a Grails domain class since it'll keep getting picked up by Liquibase when doing data model diffs. Just not sure if GORM allows for embedded properties to be POGOs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant