Last change
on this file since 121 was
121,
checked in by gav, 15 years ago
|
Extensive update to Asset ERD and associated domain classes, not compiled or tested.
|
File size:
311 bytes
|
Rev | Line | |
---|
[121] | 1 | class AssetExtendedAttribute { |
---|
| 2 | |
---|
| 3 | AssetType assetType |
---|
| 4 | |
---|
| 5 | String name |
---|
| 6 | String description = "" |
---|
| 7 | String value |
---|
| 8 | boolean isActive = true |
---|
| 9 | |
---|
| 10 | // static hasMany = [] |
---|
| 11 | |
---|
| 12 | static belongsTo = [AssetType] |
---|
| 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.