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 edited

Legend:

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

    r118 r121  
    11class Asset {
    2     LifePlan lifeplan
     2    SystemSection systemSection
    33    AssetType assetType
    44    String name
    55    String description = ""
    6     String locationLongText = ""
    7     Integer riskPriorityNumber
    8     String modelNumber = ""
    9     String serialNumber = ""
    10     Integer purchaseCost = 0
    11     Date manufacturedDate = new Date()
    12    
    136    boolean isActive = true
    147
    15 //     static hasMany = []
    16 //
    17 //     static belongsTo = []
    18 //
     8    static hasMany = [maintenanceActions: MaintenanceAction]
     9
     10    static belongsTo = [SystemSection]
     11
    1912//     static constraints = {
    2013//     }
Note: See TracChangeset for help on using the changeset viewer.