| Last change
                  on this file since 267 was
                  267,
                  checked in by gav, 16 years ago | 
        
          | 
Re-arrange svn for asset tree refactor.
 | 
        | File size:
            419 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | class AssetType { | 
|---|
| 2 |  | 
|---|
| 3 | String name | 
|---|
| 4 | String description = "" | 
|---|
| 5 | String costCode = "" | 
|---|
| 6 | boolean isActive = true | 
|---|
| 7 |  | 
|---|
| 8 | static hasMany = [assets: Asset, | 
|---|
| 9 | assemblies: Assembly, | 
|---|
| 10 | maintenanceActions: MaintenanceAction] | 
|---|
| 11 |  | 
|---|
| 12 | //     static belongsTo = [] | 
|---|
| 13 |  | 
|---|
| 14 | //     static constraints = { | 
|---|
| 15 | // | 
|---|
| 16 | //     } | 
|---|
| 17 |  | 
|---|
| 18 | String toString() { | 
|---|
| 19 | "${this.name}" | 
|---|
| 20 | } | 
|---|
| 21 | } | 
|---|
| 22 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.