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