source:
trunk/src/grails-app/domain/TaskGroup.groovy
@
  18
        
        | Last change on this file since 18 was 18, checked in by , 17 years ago | |
|---|---|
| File size: 245 bytes | |
| Rev | Line | |
|---|---|---|
| [16] | 1 | class TaskGroup { | 
| 2 | String name | |
| 3 | String description | |
| [18] | 4 | boolean isActive | 
| [16] | 5 | |
| 6 | static hasMany = [tasks : Task] | |
| 7 | ||
| 8 | static constraints = { | |
| 9 | name(blank:false) | |
| 10 | description(blank:false) | |
| 11 | } | |
| 12 | ||
| 13 | String toString() {"${name}"} | |
| 14 | } | 
Note: See TracBrowser
        for help on using the repository browser.
    
