source: trunk/src/grails-app/domain/TaskGroup.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: 250 bytes
Line 
1class TaskGroup {
2    String name
3    String description
4    boolean isActive
5
6    static hasMany = [tasks : Task]
7
8    static constraints = {
9        name(blank:false)
10        description(blank:false)
11    }
12
13    String toString() {"${this.name}"}
14}
Note: See TracBrowser for help on using the repository browser.