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