source: trunk/src/grails-app/domain/EntryType.groovy @ 21

Last change on this file since 21 was 21, checked in by gavin, 15 years ago

Remove TypeOfClass? and change to ClassType?. Update ERD to match.
Create and add openMimLogo/Icon.
Generate-all *.
Configure BootStrap? and add entries, some not saving yet.
Update DatabaseDesign?.tex and index.gsp

File size: 307 bytes
Line 
1class EntryType {
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.