source:
trunk/grails-app/domain/Period.groovy
@
174
| Last change on this file since 174 was 136, checked in by , 16 years ago | |
|---|---|
| File size: 331 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] |
| [136] | 7 | |
| 8 | static mappedBy = [taskRecurringSchedules:"recurPeriod"] | |
| 9 | ||
| [118] | 10 | // static belongsTo = [] |
| [136] | 11 | |
| [118] | 12 | // static constraints = { |
| 13 | // | |
| 14 | // } | |
| 15 | ||
| 16 | String toString() { | |
| [122] | 17 | "${this.period}" |
| [118] | 18 | } |
| 19 | } | |
| 20 |
Note: See TracBrowser
for help on using the repository browser.
