source: trunk/grails-app/domain/dbnp/studycapturing/Event.groovy @ 81

Last change on this file since 81 was 81, checked in by keesvb, 10 years ago

updated domain classes: added event description, sample and assay

File size: 233 bytes
Line 
1package dbnp.studycapturing
2
3class Event {
4
5    Subject subject
6    EventDescription eventDescription
7    Date startTime
8    Date endTime
9
10    static constraints = {
11    }
12
13    def getDuration() {
14        endTime - startTime
15    }
16}
Note: See TracBrowser for help on using the repository browser.