Changeset 121 for trunk/grails-app/domain/MaintenanceAction.groovy
- Timestamp:
- Apr 30, 2009, 9:36:34 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/MaintenanceAction.groovy
r119 r121 1 class Form { 2 String name 3 String description = "" 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 = "" 4 12 boolean isActive = true 5 boolean isUsed = true6 13 7 static hasMany = [lifePlans: LifePlan]8 // 9 // static belongsTo = []10 // 14 // static hasMany = [] 15 16 static belongsTo = [PlannedMaintenance] 17 11 18 // static constraints = { 12 19 // … … 14 21 15 22 String toString() { 16 "${this. name}"23 "${this.description}" 17 24 } 18 25 }
Note: See TracChangeset
for help on using the changeset viewer.