source:
trunk/src/grails-app/domain/TypeOfEntry.groovy
@
18
Last change on this file since 18 was 18, checked in by , 15 years ago | |
---|---|
File size: 290 bytes |
Line | |
---|---|
1 | class 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 | static optionals = ["description"] |
17 | } |
Note: See TracBrowser
for help on using the repository browser.