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

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

added start of NuGO PPS3 to BootStrap?

File size: 360 bytes
RevLine 
[84]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
[136]9    String unit
[84]10
11    static constraints = {
[136]12            name(unique:true)
13            unit(nullable:true, blank:true)
[84]14    }
[92]15
16        def String toString() {
17                return name
18        }
[84]19}
Note: See TracBrowser for help on using the repository browser.