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

Last change on this file since 1426 was 1426, checked in by work@…, 10 years ago
  • Resolved part of improvement #225
  • refactored the template model out of GSCF into the GDT (Grails Domain Templates) plugin version 0.0.1
  • still work needs to be done (move template editor into gdt, etcetera)
  • fix template owner
  • some methods are missing from Template, but most of it works
  • Property svn:keywords set to Author Date Rev
File size: 509 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Link table which couples studies with persons and the role they have within the study
5 *
6 * Revision information:
7 * $Rev: 1426 $
8 * $Author: work@osx.eu $
9 * $Date: 2011-01-21 18:37:02 +0000 (vr, 21 jan 2011) $
10 */
11class StudyPerson extends nl.grails.plugins.gdt.Identity {
12
13        // A StudyPerson relation always belongs to one study.
14        static belongsTo = [parent : Study]
15
16    /** The Person which is referenced in the Study */
17        Person person
18
19        /** The role this Person has in the Study */
20        PersonRole role
21
22    static constraints = {
23    }
24}
Note: See TracBrowser for help on using the repository browser.