|
Last change
on this file since 127 was
127,
checked in by gav, 17 years ago
|
|
Logins now route through a welcome action to allow flash message and user environment setup. Session timeout now user configurable and defaults to 12 hours. Work on Planned Maintenance.
|
|
File size:
457 bytes
|
| Line | |
|---|
| 1 | class TaskRecurringSchedule { |
|---|
| 2 | |
|---|
| 3 | Task task |
|---|
| 4 | // Task lastGeneratedSubTask |
|---|
| 5 | Period period |
|---|
| 6 | |
|---|
| 7 | Integer recurEvery |
|---|
| 8 | Date startDate = new Date() |
|---|
| 9 | Date lastGeneratedDate |
|---|
| 10 | Date nextDueDate |
|---|
| 11 | boolean isActive = true |
|---|
| 12 | |
|---|
| 13 | // static hasMany = [] |
|---|
| 14 | |
|---|
| 15 | static belongsTo = [Task] |
|---|
| 16 | |
|---|
| 17 | static constraints = { |
|---|
| 18 | // lastGeneratedDate(blank:true, nullable:true) |
|---|
| 19 | } |
|---|
| 20 | |
|---|
| 21 | String toString() { |
|---|
| 22 | "Recur every ${recurEvery} ${period}" |
|---|
| 23 | } |
|---|
| 24 | } |
|---|
| 25 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.