Add Student attributes
This commit is contained in:
parent
846bfe2fbf
commit
e26daf8689
|
@ -1,7 +1,10 @@
|
||||||
package com.baeldung.grails
|
package com.baeldung.grails
|
||||||
|
|
||||||
class Student {
|
class Student {
|
||||||
|
Long id
|
||||||
|
String firstName
|
||||||
|
String lastName
|
||||||
|
|
||||||
|
static constraints = {}
|
||||||
|
|
||||||
static constraints = {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue