Changeset 121 for trunk/grails-app/domain/LifePlan.groovy
- Timestamp:
- Apr 30, 2009, 9:36:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/LifePlan.groovy
r118 r121 1 1 class LifePlan { 2 Asset asset3 Form form4 Frequency frequency5 AssetType assetType6 Assembly assembly7 SubAssembly subAssembly8 ComponentItem componentItem9 2 10 3 String name 11 4 String description = "" 12 String resourceNumber = ""13 Integer timeInHours14 String maintenanceAction15 String notes = ""16 17 5 boolean isActive = true 18 6 19 static hasMany = [systemSections: SystemSection]7 // static hasMany = [] 20 8 21 static belongsTo = [SystemSection]9 // static belongsTo = [] 22 10 23 static constraints = { 24 asset(blank:true,nullable:true) 25 form(blank:true,nullable:true) 26 frequency(blank:true,nullable:true) 27 assetType(blank:true,nullable:true) 28 assembly(blank:true,nullable:true) 29 subAssembly(blank:true,nullable:true) 30 componentItem(blank:true,nullable:true) 31 } 11 // static constraints = { 12 // } 32 13 33 14 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.