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

gorm.tools.model.NameCodeDescription.groovy Maven / Gradle / Ivy

There is a newer version: 7.3.74
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 gorm.tools.model

import groovy.transform.CompileStatic

@SuppressWarnings(['MethodName'])
@CompileStatic
trait NameCodeDescription extends NameCode {

    String description

    static Map includes = [
        qSearch: ['name', 'code', 'description'],
        stamp: ['id', 'code', 'name']  //picklist or minimal for joins
    ]

    static constraintsMap = [
        description:[ d: 'The description for this entity', nullable: true, maxSize: 255]
    ]

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy