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