source:
trunk/src/grails-app/domain/Modification.groovy
@
44
Last change on this file since 44 was 21, checked in by , 16 years ago | |
---|---|
File size: 356 bytes |
Rev | Line | |
---|---|---|
[16] | 1 | class Modification { |
2 | Person person | |
[21] | 3 | ModificationType modificationType |
[16] | 4 | Task task |
5 | Date dateTime | |
6 | String comments | |
7 | ||
[21] | 8 | static belongsTo = [Person, ModificationType, Task] |
[16] | 9 | |
10 | static constraints = { | |
11 | person() | |
[21] | 12 | modificationType() |
[16] | 13 | task() |
14 | dateTime() | |
15 | comments() | |
16 | } | |
[18] | 17 | |
18 | static optionals = ["comments"] | |
[16] | 19 | } |
Note: See TracBrowser
for help on using the repository browser.