Changeset 124 for trunk/grails-app/domain/Asset.groovy
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Asset.groovy
r122 r124 8 8 boolean isActive = true 9 9 10 static hasMany = [maintenanceActions: MaintenanceAction ]10 static hasMany = [maintenanceActions: MaintenanceAction, assetExtendedAttributes: AssetExtendedAttribute] 11 11 12 12 static belongsTo = [SystemSection, AssetType] 13 13 14 // static constraints = { 15 // } 14 static constraints = { 15 name(unique:true) 16 } 16 17 17 18 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.