Created
October 6, 2022 15:13
-
-
Save thomasmartin-whoz/6944ee99eaf3cf839de7c2648c84f424 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 | |
ObjectId companyId | |
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