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