source: trunk/src/grails-app/domain/Task.groovy @ 48

Last change on this file since 48 was 47, checked in by gav, 15 years ago

Change Person attribute of Task to leadPerson, update views and Bootstrap to suite.
Make entire row of Task list view clickable and go directly to edit.

File size: 389 bytes
Line 
1class Task {
2    TaskGroup taskGroup
3    Person leadPerson
4    String name
5    String description
6    Date scheduledDate
7    Date targetDate
8
9    static hasMany = [entries: Entry, modifications : Modification]
10
11    static belongsTo = [TaskGroup, Person]
12
13    static constraints = {
14        name(blank:false)
15        description(blank:false)
16    }
17
18    String toString() {"${this.name}"}
19}
Note: See TracBrowser for help on using the repository browser.