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

Last change on this file since 754 was 754, checked in by keesvb, 12 years ago

big refactoring / change of the data model: implemented belongsTo everywhere where it should be, added comments to the domain classes, changed BootStrap? accordingly

  • Property svn:keywords set to Date Rev Author
File size: 435 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 implements Serializable {
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.