Remove constraints and redundant ID property
This commit is contained in:
parent
e26daf8689
commit
1791013061
@ -1,10 +1,6 @@
|
|||||||
package com.baeldung.grails
|
package com.baeldung.grails
|
||||||
|
|
||||||
class Student {
|
class Student {
|
||||||
Long id
|
|
||||||
String firstName
|
String firstName
|
||||||
String lastName
|
String lastName
|
||||||
|
|
||||||
static constraints = {}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user