source: branches/features/purchaseOrders/grails-app/domain/PersonGroupType.groovy

Last change on this file 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: 319 bytes
Line 
1class PersonGroupType {
2    String name
3    String description = ""
4    boolean isActive = true
5
6    static hasMany = [personGroups : PersonGroup]
7
8    static constraints = {
9        name(maxSize:50,unique:true,blank:false)
10        description(maxSize:100)
11    }
12
13    String toString() {
14        "${this.name}"
15    }
16}
Note: See TracBrowser for help on using the repository browser.