Last change
on this file since 56 was
50,
checked in by gav, 16 years ago
|
Trying some different layouts in task edit/create.
Display entries in task show page.
Some more tuning of CSS.
|
File size:
447 bytes
|
Line | |
---|
1 | class Entry { |
---|
2 | Person person |
---|
3 | Task task |
---|
4 | EntryType entryType |
---|
5 | Date date |
---|
6 | Integer durationHours = 0 |
---|
7 | Integer durationMinutes = 0 |
---|
8 | String comments |
---|
9 | |
---|
10 | static belongsTo = [EntryType, Task, Person] |
---|
11 | |
---|
12 | static constraints = { |
---|
13 | task() |
---|
14 | comments(maxSize:500) |
---|
15 | date() |
---|
16 | durationHours(min:0) |
---|
17 | durationMinutes(min:0,max:59) |
---|
18 | |
---|
19 | } |
---|
20 | |
---|
21 | String toString() { |
---|
22 | "${this.comments}" |
---|
23 | } |
---|
24 | } |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.