source: trunk/grails-app/domain/dbnp/studycapturing/Person.groovy @ 184

Last change on this file since 184 was 184, checked in by keesvb, 10 years ago

Deleted transcriptomics data model: moved some classes to study capture, the rest goes to the transcriptomics submodule. Added module location description for assays. Added Compound entity.

File size: 622 bytes
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 repository browser.