source: trunk/src/grails-app/domain/PersonGroup.groovy @ 19

Last change on this file since 19 was 19, checked in by tuxta, 15 years ago

Set up BootStrap? and tweaked Domain classes

File size: 271 bytes
RevLine 
[18]1class 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.