source: trunk/grails-app/domain/dbnp/studycapturing/StudyPerson.groovy @ 784

Last change on this file since 784 was 784, checked in by duh, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Rev Date
File size: 428 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Link table which couples studies with persons and the role they have within the study
5 */
6class StudyPerson extends Identity {
7
8        // A StudyPerson relation always belongs to one study.
9        static belongsTo = [parent : Study]
10
11    /** The Person which is referenced in the Study */
12        Person person
13
14        /** The role this Person has in the Study */
15        PersonRole role
16
17    static constraints = {
18    }
19}
Note: See TracBrowser for help on using the repository browser.