grails.gorm.tests.ChildEntity.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grace-datastore-gorm-tck Show documentation
Show all versions of grace-datastore-gorm-tck Show documentation
Grace Data : Grace Datastore Gorm Tck
package grails.gorm.tests
import grails.persistence.Entity
/**
* @author graemerocher
*/
@Entity
class ChildEntity implements Serializable {
Long id
Long version
String name
static mapping = {
name index:true
}
static belongsTo = [TestEntity]
}