source:
trunk/grails-app/domain/AssetExtendedAttribute.groovy
@
144
Last change on this file since 144 was 124, checked in by , 16 years ago | |
---|---|
File size: 350 bytes |
Rev | Line | |
---|---|---|
[121] | 1 | class 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.