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

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

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

File size: 481 bytes
Line 
1class AssetType {
2
3    String name
4    String description = ""
5    boolean isActive = true
6
7    static hasMany = [assets: Asset, 
8                                    assemblies: Assembly, 
9                                    assetExtendedAttributes: AssetExtendedAttribute, 
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.