source: trunk/grails-app/domain/magetab/idf/Person.groovy @ 63

Last change on this file since 63 was 63, checked in by ademcan, 10 years ago

Parsing and Loading information from an IDF file (MageTab?). Actually working for Person, Publication and Protocol attributs.
The file path has to be changed for every user in LoadController?.groovy

File size: 747 bytes
Line 
1package magetab.idf
2
3class Person {
4
5    String lastName
6    String firstName
7    String midInitials
8    String email
9    String fax
10    String phone
11    String address
12    String affiliation
13    String roles
14    String roles_ref
15
16    static hasMany = [
17        roles: OntologyTerm
18    ]
19
20    static constraints = {
21        lastName(nullable:true,blank:true)
22        firstName(nullable:true,blank:true)
23        midInitials(nullable:true,blank:true)
24        email(nullable:true,blank:true)
25        fax(nullable:true,blank:true)
26        phone(nullable:true,blank:true)
27        affiliation(nullable:true,blank:true)
28        roles(nullable:true,blank:true)
29        roles_ref(nullable:true,blank:true)
30        address(nullable:true,blank:true)
31    }
32}
Note: See TracBrowser for help on using the repository browser.