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

Last change on this file was 1457, checked in by work@…, 11 years ago
  • fixed missing imports caused by Intellij's smart refactoring... guess it's not that smart after all :)
  • Property svn:keywords set to Rev Author Date
File size: 509 bytes
Line 
1package dbnp.studycapturing
2import org.dbnp.gdt.*
3
4/**
5 * Link table which couples studies with persons and the role they have within the study
6 *
7 * Revision information:
8 * $Rev: 1457 $
9 * $Author: work@osx.eu $
10 * $Date: 2011-01-31 13:14:35 +0000 (ma, 31 jan 2011) $
11 */
12class StudyPerson extends Identity {
13
14        // A StudyPerson relation always belongs to one study.
15        static belongsTo = [parent : Study]
16
17    /** The Person which is referenced in the Study */
18        Person person
19
20        /** The role this Person has in the Study */
21        PersonRole role
22
23    static constraints = {
24    }
25}
Note: See TracBrowser for help on using the repository browser.