Remove constraints and redundant ID property
This commit is contained in:
@@ -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 = {}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user