Last change
on this file since 359 was
359,
checked in by duh, 13 years ago
|
|
-
Property svn:keywords set to
Date Author Rev
|
File size:
622 bytes
|
Line | |
---|
1 | package dbnp.studycapturing |
---|
2 | |
---|
3 | /** |
---|
4 | * Person class, describes persons that are somehow connected to the study |
---|
5 | */ |
---|
6 | class Person { |
---|
7 | |
---|
8 | String lastName |
---|
9 | String firstName |
---|
10 | String midInitials |
---|
11 | String email |
---|
12 | String fax |
---|
13 | String phone |
---|
14 | String address |
---|
15 | |
---|
16 | static hasMany = [roles : PersonRole, affiliations: PersonAffiliation] |
---|
17 | |
---|
18 | static constraints = { |
---|
19 | firstName(nullable:true,blank:true) |
---|
20 | midInitials(nullable:true,blank:true) |
---|
21 | email(nullable:true,blank:true) |
---|
22 | fax(nullable:true,blank:true) |
---|
23 | phone(nullable:true,blank:true) |
---|
24 | address(nullable:true,blank:true) |
---|
25 | } |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.