source: trunk/grails-app/domain/MaintenanceAction.groovy @ 121

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
Line 
1class 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 = ""
12    boolean isActive = true
13
14//     static hasMany = []
15
16    static belongsTo = [PlannedMaintenance]
17
18//     static constraints = {
19//
20//     }
21
22    String toString() {
23        "${this.description}"
24    }
25}
26
Note: See TracBrowser for help on using the repository browser.