source: trunk/grails-app/domain/AssetType.groovy @ 178

Last change on this file since 178 was 160, checked in by gav, 15 years ago

Add costCode attribute to AssetType? and regen controller and views.

File size: 419 bytes
Line 
1class 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.