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