source: trunk/src/grails-app/domain/TypeOfEntry.groovy @ 19

Last change on this file since 19 was 19, checked in by tuxta, 15 years ago

Set up BootStrap? and tweaked Domain classes

File size: 309 bytes
Line 
1class TypeOfEntry {
2    Entry entry
3    String name
4    String description = ""
5    boolean isActive
6
7    static belongsTo = Entry
8   
9    static contstraints = {
10        entry()
11        name(blank:false)
12        description()
13        isActive()
14    }
15
16    String toString() {
17        "${this.name}"
18    }
19}
Note: See TracBrowser for help on using the repository browser.