Last change
on this file since 73 was
66,
checked in by gav, 15 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:
224 bytes
|
Rev | Line | |
---|
[66] | 1 | class EntryType { |
---|
| 2 | String name |
---|
| 3 | String description = "" |
---|
| 4 | boolean isActive = true |
---|
| 5 | |
---|
| 6 | static hasMany = [entries: Entry] |
---|
| 7 | |
---|
| 8 | static contstraints = { |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | String toString() { |
---|
| 12 | "${this.name}" |
---|
| 13 | } |
---|
| 14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.