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