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

Last change on this file since 157 was 146, checked in by gav, 15 years ago

Remove invalid contraints reported by Tomcat debug logs.

File size: 806 bytes
Line 
1class MaintenanceAction {
2
3    TaskProcedure taskProcedure
4    MaintenancePolicy maintenancePolicy
5    SystemSection systemSection
6    Asset asset
7    AssetType assetType
8    Assembly assembly
9    SubAssembly subAssembly
10    ComponentItem componentItem
11
12    String description
13    String reasoning = ""
14    Integer procedureStepNumber
15    boolean isActive = true
16
17//     static hasMany = []
18
19//     static belongsTo = []
20
21    static constraints = {
22        maintenancePolicy(nullable:true)
23        systemSection(nullable:true)
24        asset(nullable:true)
25        assetType(nullable:true)
26        assembly(nullable:true)
27        subAssembly(nullable:true)
28        componentItem(nullable:true)
29        procedureStepNumber(nullable:true)
30    }
31
32    String toString() {
33        "${this.description}"
34    }
35}
36
Note: See TracBrowser for help on using the repository browser.