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
RevLine 
[118]1class AssetType {
[121]2
[118]3    String name
4    String description = ""
5    boolean isActive = true
6
[122]7    static hasMany = [assets: Asset, 
8                                    assemblies: Assembly, 
9                                    assetExtendedAttributes: AssetExtendedAttribute, 
10                                    maintenanceActions: MaintenanceAction]
[121]11
[118]12//     static belongsTo = []
[121]13
[118]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.