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

Last change on this file since 68 was 50, checked in by gav, 16 years ago

Trying some different layouts in task edit/create.
Display entries in task show page.
Some more tuning of CSS.

File size: 388 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.