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