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

Last change on this file since 25 was 25, checked in by gavin, 15 years ago

Add to BootStrap?, work on Domain classes update ERD to match, again.

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