source: trunk/grails-app/domain/dbnp/studycapturing/Study.groovy @ 77

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

sorry, forgot to commit the classes

File size: 571 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Domain class describing the basic entity in the study capture part: the Study class.
5 */
6class Study {
7
8    nimble.User owner
9    String title
10    String code
11    String researchQuestion
12    String description
13    String ecCode
14    Date dateCreated
15    Date lastUpdated
16    Date startDate
17    Template template
18
19    static hasMany = [ editors : nimble.User, subjects: Subject, protocols: Protocol ]
20
21    static constraints = {
22    }
23
24    static mapping = {
25        researchQuestion type:'text'
26        description type:'text'
27    }
28
29}
Note: See TracBrowser for help on using the repository browser.