Last change
on this file since 19 was
18,
checked in by tuxta, 16 years ago
|
Align domain classes to ERD.
|
File size:
364 bytes
|
Line | |
---|
1 | class Modification { |
---|
2 | Person person |
---|
3 | TypeOfModification typeOfModification |
---|
4 | Task task |
---|
5 | Date dateTime |
---|
6 | String comments |
---|
7 | |
---|
8 | static belongsTo = [Person, TypeOfModification, Task] |
---|
9 | |
---|
10 | static constraints = { |
---|
11 | person() |
---|
12 | typeOfModification() |
---|
13 | task() |
---|
14 | dateTime() |
---|
15 | comments() |
---|
16 | } |
---|
17 | |
---|
18 | static optionals = ["comments"] |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.