Last change
on this file since 121 was
121,
checked in by gav, 15 years ago
|
Extensive update to Asset ERD and associated domain classes, not compiled or tested.
|
File size:
506 bytes
|
Rev | Line | |
---|
[121] | 1 | class MaintenanceAction { |
---|
| 2 | MaintenancePolicy maintenancePolicy |
---|
| 3 | PlannedMaintenance plannedMaintenance |
---|
| 4 | SystemSection |
---|
| 5 | Asset asset |
---|
| 6 | AssetType assetType |
---|
| 7 | Assembly assembly |
---|
| 8 | SubAssembly subAssembly |
---|
| 9 | ComponentItem componentItem |
---|
| 10 | String description |
---|
| 11 | String reasoning = "" |
---|
[118] | 12 | boolean isActive = true |
---|
| 13 | |
---|
[121] | 14 | // static hasMany = [] |
---|
| 15 | |
---|
| 16 | static belongsTo = [PlannedMaintenance] |
---|
| 17 | |
---|
[118] | 18 | // static constraints = { |
---|
| 19 | // |
---|
| 20 | // } |
---|
| 21 | |
---|
| 22 | String toString() { |
---|
[121] | 23 | "${this.description}" |
---|
[118] | 24 | } |
---|
| 25 | } |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.