source: trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy @ 136

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

added start of NuGO PPS3 to BootStrap?

File size: 360 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * This is the superclass for template fields. Normally, this class will not be instantiated.
5 */
6abstract class TemplateField {
7    String name
8    TemplateFieldType type
9    String unit
10
11    static constraints = {
12            name(unique:true)
13            unit(nullable:true, blank:true)
14    }
15
16        def String toString() {
17                return name
18        }
19}
Note: See TracBrowser for help on using the repository browser.