root/trunk/grails-app/domain/dbnp/studycapturing/Person.groovy @ 247

Revision 247, 0.6 KB (checked in by duh, 4 years ago)

- set keyword expansion

  • Property svn:keywords set to Author Rev Date
Line 
1package dbnp.studycapturing
2
3/**
4 * Person class, describes persons that are somehow connected to the study
5 */
6class 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 browser.