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

Last change on this file since 99 was 59, checked in by gav, 16 years ago

Lots of changes to setup Acegi, should be complete with all current pages secured.
Added CSS and PersonGroup? and PersonGroupType?.
Adjust BootStrap? to suite.
Add Home and Admin pages.

File size: 341 bytes
Line 
1class PersonGroup {
2    PersonGroupType personGroupType
3    String name
4    String description = ""
5    boolean isActive = true
6
7    static hasMany = [persons : Person]
8
9    static constraints = {
10        name(maxSize:50,unique:true,blank:false)
11        description(maxSize:100)
12    }
13
14    String toString() {
15        "${this.name}"
16    }
17}
Note: See TracBrowser for help on using the repository browser.