source:
trunk/src/grails-app/domain/Entry.groovy
@
34
Last change on this file since 34 was 25, checked in by , 16 years ago | |
---|---|
File size: 282 bytes |
Rev | Line | |
---|---|---|
[16] | 1 | class Entry { |
2 | Person person | |
3 | Task task | |
[25] | 4 | EntryType entryType |
5 | Date date | |
[16] | 6 | Integer duration |
7 | String comments | |
8 | ||
[18] | 9 | static hasMany = [persons: Person] |
[16] | 10 | |
[21] | 11 | static belongsTo = [EntryType, Task, Person] |
[18] | 12 | |
[16] | 13 | static constraints = { |
[25] | 14 | comments(maxSize:500) |
[16] | 15 | } |
16 | } | |
17 |
Note: See TracBrowser
for help on using the repository browser.