source:
trunk/src/grails-app/domain/EntryType.groovy
@
21
Last change on this file since 21 was 21, checked in by , 15 years ago | |
---|---|
File size: 307 bytes |
Line | |
---|---|
1 | class 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.