source:
trunk/src/grails-app/domain/EntryType.groovy
@
25
Last change on this file since 25 was 25, checked in by , 15 years ago | |
---|---|
File size: 224 bytes |
Rev | Line | |
---|---|---|
[21] | 1 | class EntryType { |
2 | String name | |
3 | String description = "" | |
[25] | 4 | boolean isActive = true |
[21] | 5 | |
[25] | 6 | static hasMany = [entries: Entry] |
[21] | 7 | |
8 | static contstraints = { | |
9 | } | |
10 | ||
11 | String toString() { | |
12 | "${this.name}" | |
13 | } | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.