source: trunk/src/grails-app/domain/TaskGroup.groovy @ 44

Last change on this file since 44 was 35, checked in by gav, 16 years ago

Adjusted constraints and regen-all for Person/Group/Type? and Task/Group?.

File size: 285 bytes
RevLine 
[16]1class TaskGroup {
2    String name
[35]3    String description = ""
[25]4    boolean isActive = true
[16]5
6    static hasMany = [tasks : Task]
7
8    static constraints = {
[35]9        name(maxSize:50,unique:true,blank:false)
10        description(maxSize:100)
[16]11    }
12
[19]13    String toString() {"${this.name}"}
[16]14}
Note: See TracBrowser for help on using the repository browser.