yakworks.rally.common.VariableVal.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rally-domain Show documentation
Show all versions of rally-domain Show documentation
gorm domain models for core app and testing
/*
* Copyright 2021 Yak.Works - Licensed under the Apache License, Version 2.0 (the "License")
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
package yakworks.rally.common
import groovy.transform.CompileStatic
@SuppressWarnings(['MethodName'])
@CompileStatic
trait VariableVal {
String variable
String value
static Map includes = [
qSearch: ['variable', 'value']
]
static constraintsMap = [
variable:[ description: 'Parameter config prop name, unique', nullable: false, maxSize: 50],
value:[ description: 'The value', maxSize: 50]
]
}