Last change
on this file since 122 was
122,
checked in by gav, 15 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:
785 bytes
|
Rev | Line | |
---|
[121] | 1 | class MaintenanceAction { |
---|
| 2 | MaintenancePolicy maintenancePolicy |
---|
| 3 | PlannedMaintenance plannedMaintenance |
---|
[122] | 4 | SystemSection systemSection |
---|
[121] | 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 | |
---|
[122] | 18 | static constraints = { |
---|
| 19 | systemSection(blank:true, nullable:true) |
---|
| 20 | asset(blank:true, nullable:true) |
---|
| 21 | assetType(blank:true, nullable:true) |
---|
| 22 | assembly(blank:true, nullable:true) |
---|
| 23 | subAssembly(blank:true, nullable:true) |
---|
| 24 | componentItem(blank:true, nullable:true) |
---|
| 25 | } |
---|
[118] | 26 | |
---|
| 27 | String toString() { |
---|
[121] | 28 | "${this.description}" |
---|
[118] | 29 | } |
---|
| 30 | } |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.