Changeset 19 for trunk/src/grails-app/domain/PersonGroup.groovy
- Timestamp:
- Nov 25, 2008, 3:58:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/PersonGroup.groovy
r18 r19 2 2 TypeOfPersonGroup typeOfPersonGroup 3 3 String name 4 String description 5 boolean isActive 4 String description = "" 5 boolean isActive = true 6 6 7 7 static hasMany = [persons : Person] 8 8 9 9 static belongsTo = TypeOfPersonGroup 10 11 String toString() { 12 "${this.name}" 13 } 10 14 }
Note: See TracChangeset
for help on using the changeset viewer.