Changeset 268 for trunk/grails-app/domain/ExtendedAttributeType.groovy
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/ExtendedAttributeType.groovy
r267 r268 1 class AssetExtendedAttributeType {1 class ExtendedAttributeType { 2 2 3 3 String name … … 5 5 boolean isActive = true 6 6 7 static hasMany = [assetExtendedAttributes: AssetExtendedAttribute]7 // static hasMany = [] 8 8 9 9 // static belongsTo = [] 10 10 11 // static constraints = { 12 // 13 // } 11 static constraints = { 12 name(maxSize:50,unique:true,blank:false) 13 description(maxSize:100) 14 isActive() 15 } 14 16 15 17 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.