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

Last change on this file since 16 was 16, checked in by tuxta, 15 years ago

Created grails app and init domain classes

File size: 224 bytes
Line 
1class TaskGroup {
2    String name
3    String description
4
5    static hasMany = [tasks : Task]
6
7    static constraints = {
8        name(blank:false)
9        description(blank:false)
10    }
11
12    String toString() {"${name}"}
13}
Note: See TracBrowser for help on using the repository browser.