Ignore:
Timestamp:
Apr 30, 2009, 9:36:34 PM (15 years ago)
Author:
gav
Message:

Extensive update to Asset ERD and associated domain classes, not compiled or tested.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/MaintenanceAction.groovy

    r119 r121  
    1 class Form {
    2     String name
    3     String description = ""
     1class 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 = ""
    412    boolean isActive = true
    5     boolean isUsed = true
    613
    7     static hasMany = [lifePlans: LifePlan]
    8 //
    9 //     static belongsTo = []
    10 //
     14//     static hasMany = []
     15
     16    static belongsTo = [PlannedMaintenance]
     17
    1118//     static constraints = {
    1219//
     
    1421
    1522    String toString() {
    16         "${this.name}"
     23        "${this.description}"
    1724    }
    1825}
Note: See TracChangeset for help on using the changeset viewer.