Last change
on this file since 524 was
431,
checked in by gav, 15 years ago
|
Add ProductionReference.
Add ProductionManager and ProductionUser roles.
Update immediate callout help definitions, roll errors into one ul.
Add help definitions for resolved and unresolved.
|
File size:
635 bytes
|
Rev | Line | |
---|
[66] | 1 | class Entry { |
---|
| 2 | Person enteredBy |
---|
| 3 | Task task |
---|
| 4 | EntryType entryType |
---|
[431] | 5 | ProductionReference productionReference |
---|
| 6 | |
---|
[66] | 7 | String comment |
---|
| 8 | Date dateDone = new Date() |
---|
| 9 | Date dateEntered = new Date() |
---|
| 10 | Integer durationHour = 0 |
---|
| 11 | Integer durationMinute = 0 |
---|
| 12 | |
---|
| 13 | static belongsTo = [EntryType, Task, Person] |
---|
| 14 | |
---|
| 15 | static constraints = { |
---|
| 16 | task() |
---|
| 17 | comment(blank:false,maxSize:500) |
---|
| 18 | dateDone() |
---|
[98] | 19 | durationHour(min:0,max:16) |
---|
[66] | 20 | durationMinute(min:0,max:59) |
---|
[431] | 21 | productionReference(nullable: true) |
---|
[66] | 22 | } |
---|
| 23 | |
---|
| 24 | String toString() { |
---|
| 25 | "${this.comment} - ${this.enteredBy}, ${this.dateDone}" |
---|
| 26 | } |
---|
| 27 | } |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.