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

Last change on this file since 50 was 50, checked in by gav, 15 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
RevLine 
[16]1class Task {
2    TaskGroup taskGroup
[47]3    Person leadPerson
[16]4    String name
5    String description
[18]6    Date scheduledDate
7    Date targetDate
[16]8
[50]9    static hasMany = [entries: Entry, modifications: Modification]
[16]10
[18]11    static belongsTo = [TaskGroup, Person]
[16]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.