source:
trunk/src/grails-app/domain/Entry.groovy
@
17
Last change on this file since 17 was 16, checked in by , 16 years ago | |
---|---|
File size: 331 bytes |
Line | |
---|---|
1 | class Entry { |
2 | Person person |
3 | Task task |
4 | Date dateTime |
5 | Integer duration |
6 | String comments |
7 | |
8 | static hasMany = [people: Person] |
9 | |
10 | static constraints = { |
11 | person(blank:false) |
12 | task(blank:false) |
13 | dateTime(nullable:true) |
14 | duration(nullable:true) |
15 | comments(maxLength:500) |
16 | } |
17 | } |
18 |
Note: See TracBrowser
for help on using the repository browser.