source:
trunk/grails-app/domain/Period.groovy
@
135
| Last change on this file since 135 was 131, checked in by , 17 years ago | |
|---|---|
| File size: 271 bytes | |
| Rev | Line | |
|---|---|---|
| [122] | 1 | class Period { |
| [131] | 2 | |
| [122] | 3 | String period |
| [118] | 4 | boolean isActive = true |
| 5 | ||
| [131] | 6 | static hasMany = [taskRecurringSchedules: TaskRecurringSchedule] |
| [118] | 7 | // |
| 8 | // static belongsTo = [] | |
| 9 | // | |
| 10 | // static constraints = { | |
| 11 | // | |
| 12 | // } | |
| 13 | ||
| 14 | String toString() { | |
| [122] | 15 | "${this.period}" |
| [118] | 16 | } |
| 17 | } | |
| 18 |
Note: See TracBrowser
for help on using the repository browser.
