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
Line 
1class PersonGroup {
2    TypeOfPersonGroup typeOfPersonGroup
3    String name
4    String description = ""
5    boolean isActive = true
6
7    static hasMany = [persons : Person]
8
9    static belongsTo = TypeOfPersonGroup
10
11    String toString() {
12        "${this.name}"
13    }
14}
Note: See TracBrowser for help on using the repository browser.