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

Last change on this file since 69 was 69, checked in by duh, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Date Author
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.