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

Last change on this file since 194 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
RevLine 
[121]1class AssetExtendedAttribute {
2
[124]3    Asset asset
[122]4    AssetExtendedAttributeType assetExtendedAttributeType
[121]5
6    String value
7    boolean isActive = true
8
9//     static hasMany = []
10
[124]11    static belongsTo = [Asset]
[121]12
13//     static constraints = {
14//
15//     }
16
17    String toString() {
[124]18        "${assetExtendedAttributeType.name}: ${this.value}"
[121]19    }
20}
21
Note: See TracBrowser for help on using the repository browser.