All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yakworks.rally.common.FlexTrait.groovy Maven / Gradle / Ivy

There is a newer version: 7.3.76
Show newest version
/*
* 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 java.time.LocalDateTime

import groovy.transform.CompileStatic

@SuppressWarnings(['MethodName'])
@CompileStatic
trait FlexTrait {

    String text1
    String text2
    String text3
    String text4
    String text5
    String text6
    String text7
    String text8
    String text9
    String text10
    BigDecimal num1
    BigDecimal num2
    BigDecimal num3
    BigDecimal num4
    BigDecimal num5
    BigDecimal num6
    LocalDateTime date1
    LocalDateTime date2
    LocalDateTime date3
    LocalDateTime date4

    static constraintsMap = [
        text1: [d: "Flexible text field 1", maxSize: 255],
        text2: [d: "Flexible text field 2", maxSize: 255],
        text3: [d: "Flexible text field 3", maxSize: 255],
        text4: [d: "Flexible text field 4", maxSize: 255],
        text5: [d: "Flexible text field 5", maxSize: 255],
        text6: [d: "Flexible text field 6", maxSize: 255],
        text7: [d: "Flexible text field 7", maxSize: 255],
        text8: [d: "Flexible text field 8", maxSize: 255],
        text9: [d: "Flexible text field 9", maxSize: 255],
        text10: [d: "Flexible text field 10", maxSize: 255],
        num1: [d: "Flexible numeric field 1"],
        num2: [d: "Flexible numeric field 2"],
        num3: [d: "Flexible numeric field 3"],
        num4: [d: "Flexible numeric field 4"],
        num5: [d: "Flexible numeric field 5"],
        num6: [d: "Flexible numeric field 6"],
        date1: [d: "Flexible date field"],
        date2: [d: "Flexible date field"],
        date3: [d: "Flexible date field"],
        date4: [d: "Flexible date field"]
    ]

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy