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