source:
branches/features/taskProcedureRework/grails-app/domain/AssignedPerson.groovy
@
805
| Last change on this file since 805 was 241, checked in by , 16 years ago | |
|---|---|
| File size: 377 bytes | |
| Line | |
|---|---|
| 1 | class AssignedPerson { |
| 2 | |
| 3 | Person person |
| 4 | Task task |
| 5 | Integer estimatedHour = 0 |
| 6 | Integer estimatedMinute = 0 |
| 7 | |
| 8 | static constraints = { |
| 9 | task() |
| 10 | person() |
| 11 | estimatedHour(min:0) |
| 12 | estimatedMinute(min:0,max:59) |
| 13 | } |
| 14 | |
| 15 | String toString() { |
| 16 | "${person.firstName} ${person.lastName} - ${estimatedHour}h : ${estimatedMinute}min" |
| 17 | } |
| 18 | } |
Note: See TracBrowser
for help on using the repository browser.
