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