class SiteExtendedAttribute { ExtendedAttributeType extendedAttributeType Site site String value boolean isActive = true // static hasMany = [] static belongsTo = [Site] static constraints = { value(maxSize:100) isActive() } String toString() { "${extendedAttributeType.name}: ${this.value}" } }