class User {
String id = UUID.randomUUID().toString()
static mapping = {
id generator:'assigned'
}
}
Last active
December 21, 2016 06:15
-
-
Save houdq/bedd92b49da15afdc68bb0fcd5392092 to your computer and use it in GitHub Desktop.
gails id use uuid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment