Skip to content

Commit e26daf8

Browse files
author
Mariusz Kuligowski
committed
Add Student attributes
1 parent 846bfe2 commit e26daf8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
package com.baeldung.grails
22

33
class Student {
4+
Long id
5+
String firstName
6+
String lastName
7+
8+
static constraints = {}
49

5-
static constraints = {
6-
}
710
}

0 commit comments

Comments
 (0)