реляционные в Граале
//One-to-many
class Author {
static hasMany = [books: Book]
String name
}
///Other domain
class Book {
String title
}
Silly Sandpiper
//One-to-many
class Author {
static hasMany = [books: Book]
String name
}
///Other domain
class Book {
String title
}