Last change
on this file since 129 was
122,
checked in by gav, 16 years ago
|
Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.
|
File size:
324 bytes
|
Line | |
---|
1 | class ComponentItem { |
---|
2 | |
---|
3 | String name |
---|
4 | String description = "" |
---|
5 | boolean isActive = true |
---|
6 | |
---|
7 | static hasMany = [subAssemblies: SubAssembly, maintenanceActions: MaintenanceAction] |
---|
8 | |
---|
9 | static belongsTo = [SubAssembly] |
---|
10 | |
---|
11 | // static constraints = { |
---|
12 | // |
---|
13 | // } |
---|
14 | |
---|
15 | String toString() { |
---|
16 | "${this.name}" |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.