Last active
October 6, 2022 15:13
-
-
Save thomasmartin-whoz/a62087f33b98ed9ee6427534f98ce82b to your computer and use it in GitHub Desktop.
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
class Person { | |
ObjectId id | |
String firstName | |
String lastName | |
static constraints = { | |
firstName nullable: false, index: true | |
lastName nullable: false, index: true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment