source:
trunk/grails-app/domain/MaintenanceAction.groovy
@
783
Last change on this file since 783 was 268, checked in by , 15 years ago | |
---|---|
File size: 672 bytes |
Rev | Line | |
---|---|---|
[131] | 1 | class MaintenanceAction { |
2 | ||
3 | TaskProcedure taskProcedure | |
[121] | 4 | MaintenancePolicy maintenancePolicy |
[268] | 5 | Section section |
[121] | 6 | Asset asset |
[268] | 7 | AssetSubItem assetSubItem |
[131] | 8 | |
9 | String description | |
[121] | 10 | String reasoning = "" |
[131] | 11 | Integer procedureStepNumber |
[118] | 12 | boolean isActive = true |
13 | ||
[121] | 14 | // static hasMany = [] |
15 | ||
[127] | 16 | // static belongsTo = [] |
[121] | 17 | |
[122] | 18 | static constraints = { |
[268] | 19 | section(nullable:true) |
20 | asset(nullable:true) | |
21 | assetSubItem(nullable:true) | |
[146] | 22 | maintenancePolicy(nullable:true) |
23 | procedureStepNumber(nullable:true) | |
[268] | 24 | description() |
25 | reasoning() | |
26 | isActive() | |
[122] | 27 | } |
[118] | 28 | |
29 | String toString() { | |
[131] | 30 | "${this.description}" |
[118] | 31 | } |
32 | } | |
33 |
Note: See TracBrowser
for help on using the repository browser.