class Menu {
String id;
String name;
}
static constraints = {
//
id bindable : true
name nullable:true
}
static mapping = {
//
id column:'MENU_ID' , generator:'assigned'
name column:'MENU_NAME'
}
class Menu {
String id;
String name;
}
static constraints = {
//
id bindable : true
name nullable:true
}
static mapping = {
//
id column:'MENU_ID' , generator:'assigned'
name column:'MENU_NAME'
}