Last change
on this file since 75 was
66,
checked in by gav, 16 years ago
|
Add domains Entry, Task, Modification with task rewrites and associated Types/Status? etc.
Generate controllers and views.
Update Bootstrap.groovy and Person.groovy to suite.
|
File size:
358 bytes
|
Line | |
---|
1 | class Modification { |
---|
2 | Person person |
---|
3 | ModificationType modificationType |
---|
4 | Task task |
---|
5 | Date date = new Date() |
---|
6 | String comment |
---|
7 | |
---|
8 | static belongsTo = [Person, ModificationType, Task] |
---|
9 | |
---|
10 | static constraints = { |
---|
11 | person() |
---|
12 | modificationType() |
---|
13 | task() |
---|
14 | date() |
---|
15 | comment() |
---|
16 | } |
---|
17 | |
---|
18 | static optionals = ["comment"] |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.