source: trunk/grails-app/domain/AssetExtendedAttribute.groovy @ 129

Last change on this file since 129 was 124, checked in by gav, 16 years ago

Detail controller and views for Asset, AssetExtendedAttribute?, PlannedMaintenance?, MaintenanceAction?, RecurringSchedule?, SystemSection?.
Some minor work on Task controller and views.
Change PlannedMaintenance? relationship, adjust ERD, Bootstrap and Domain classes to suite.

File size: 350 bytes
Line 
1class AssetExtendedAttribute {
2
3    Asset asset
4    AssetExtendedAttributeType assetExtendedAttributeType
5
6    String value
7    boolean isActive = true
8
9//     static hasMany = []
10
11    static belongsTo = [Asset]
12
13//     static constraints = {
14//
15//     }
16
17    String toString() {
18        "${assetExtendedAttributeType.name}: ${this.value}"
19    }
20}
21
Note: See TracBrowser for help on using the repository browser.