source: trunk/grails-app/domain/dbnp/transcriptomics/magetab/idf/Person.groovy @ 70

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

updated to Grails 1.2, restructured packages, added some domain classes, removed obsolete code

  • Property svn:keywords set to Rev Date Author
File size: 768 bytes
Line 
1package dbnp.transcriptomics.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.