Index: trunk/grails-app/domain/Assembly.groovy
===================================================================
--- trunk/grails-app/domain/Assembly.groovy	(revision 118)
+++ trunk/grails-app/domain/Assembly.groovy	(revision 118)
@@ -0,0 +1,19 @@
+class Assembly {
+    LifePlan lifeplan
+    String name
+    String description = ""
+    boolean isActive = true
+
+    static hasMany = [assetTypes: AssetType, subAssemblies: SubAssembly]
+
+    static belongsTo = [AssetType]
+
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/Asset.groovy
===================================================================
--- trunk/grails-app/domain/Asset.groovy	(revision 116)
+++ trunk/grails-app/domain/Asset.groovy	(revision 118)
@@ -1,5 +1,14 @@
 class Asset {
+    LifePlan lifeplan
+    AssetType assetType
     String name
     String description = ""
+    String locationLongText = ""
+    Integer riskPriorityNumber
+    String modelNumber = ""
+    String serialNumber = ""
+    Integer purchaseCost = 0
+    Date manufacturedDate = new Date()
+    
     boolean isActive = true
 
@@ -9,5 +18,4 @@
 // 
 //     static constraints = {
-// 
 //     }
 
Index: trunk/grails-app/domain/AssetType.groovy
===================================================================
--- trunk/grails-app/domain/AssetType.groovy	(revision 118)
+++ trunk/grails-app/domain/AssetType.groovy	(revision 118)
@@ -0,0 +1,20 @@
+class AssetType {
+    SystemSection systemSection
+    LifePlan lifeplan
+    String name
+    String description = ""
+    boolean isActive = true
+
+    static hasMany = [assets: Asset, assemblies: Assembly]
+// 
+//     static belongsTo = []
+// 
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/ComponentItem.groovy
===================================================================
--- trunk/grails-app/domain/ComponentItem.groovy	(revision 118)
+++ trunk/grails-app/domain/ComponentItem.groovy	(revision 118)
@@ -0,0 +1,20 @@
+class ComponentItem {
+    LifePlan lifeplan
+    String name
+    String description = ""
+    Integer fmeaNumber
+    boolean isActive = true
+
+    static hasMany = [subAssemblies: SubAssembly]
+
+    static belongsTo = [SubAssembly]
+
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/Form.groovy
===================================================================
--- trunk/grails-app/domain/Form.groovy	(revision 118)
+++ trunk/grails-app/domain/Form.groovy	(revision 118)
@@ -0,0 +1,19 @@
+class Form {
+    String name
+    String description = ""
+    boolean isActive = true
+    boolean isUsed = true
+
+    static hasMany = [lifePlans: LifePlan]
+// 
+//     static belongsTo = []
+// 
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/Frequency.groovy
===================================================================
--- trunk/grails-app/domain/Frequency.groovy	(revision 118)
+++ trunk/grails-app/domain/Frequency.groovy	(revision 118)
@@ -0,0 +1,17 @@
+class Frequency {
+    String frequency
+    boolean isActive = true
+
+    static hasMany = [lifePlans: LifePlan]
+// 
+//     static belongsTo = []
+// 
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/LifePlan.groovy
===================================================================
--- trunk/grails-app/domain/LifePlan.groovy	(revision 118)
+++ trunk/grails-app/domain/LifePlan.groovy	(revision 118)
@@ -0,0 +1,37 @@
+class LifePlan {
+    Asset asset
+    Form form
+    Frequency frequency
+    AssetType assetType
+    Assembly assembly
+    SubAssembly subAssembly
+    ComponentItem componentItem
+
+    String name
+    String description = ""
+    String resourceNumber = ""
+    Integer timeInHours
+    String maintenanceAction
+    String notes = ""
+    
+    boolean isActive = true
+
+    static hasMany = [systemSections: SystemSection]
+
+    static belongsTo = [SystemSection]
+
+    static constraints = {
+        asset(blank:true,nullable:true)
+        form(blank:true,nullable:true)
+        frequency(blank:true,nullable:true)
+        assetType(blank:true,nullable:true)
+        assembly(blank:true,nullable:true)
+        subAssembly(blank:true,nullable:true)
+        componentItem(blank:true,nullable:true)
+    }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/SubAssembly.groovy
===================================================================
--- trunk/grails-app/domain/SubAssembly.groovy	(revision 118)
+++ trunk/grails-app/domain/SubAssembly.groovy	(revision 118)
@@ -0,0 +1,19 @@
+class SubAssembly {
+    LifePlan lifeplan
+    String name
+    String description = ""
+    boolean isActive = true
+
+    static hasMany = [assemblies: Assembly, componentItems: ComponentItem]
+
+    static belongsTo = [Assembly]
+
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
Index: trunk/grails-app/domain/SystemSection.groovy
===================================================================
--- trunk/grails-app/domain/SystemSection.groovy	(revision 118)
+++ trunk/grails-app/domain/SystemSection.groovy	(revision 118)
@@ -0,0 +1,18 @@
+class SystemSection {
+    String name
+    String description = ""
+    boolean isActive = true
+
+    static hasMany = [assetTypes: AssetType, lifePlans: LifePlan]
+// 
+//     static belongsTo = []
+// 
+//     static constraints = {
+// 
+//     }
+
+    String toString() {
+        "${this.name}"
+    }
+}
+
