source: trunk/grails-app/domain/Asset.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: 354 bytes
Line 
1class Asset {
2
3    SystemSection systemSection
4    AssetType assetType
5
6    String name
7    String description = ""
8    boolean isActive = true
9
10    static hasMany = [maintenanceActions: MaintenanceAction]
11
12    static belongsTo = [SystemSection, AssetType]
13
14//     static constraints = {
15//     }
16
17    String toString() {
18        "${this.name}"
19    }
20}
21
Note: See TracBrowser for help on using the repository browser.