Created
April 20, 2017 03:51
-
-
Save cofemei/88686477789bcd05385c73605ab3780e to your computer and use it in GitHub Desktop.
Grails3 Template Generation model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def domain = model(com.foo.Bar) | |
domain.className == "FooBar" | |
domain.fullName == "com.foo.FooBar" | |
domain.packageName == "com.foo" | |
domain.packagePath == "com/foo" | |
domain.propertyName == "fooBar" | |
domain.lowerCaseName == "foo-bar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment