GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / test / persistence / org / codehaus / groovy / grails / domain / RelationshipsTest.groovy
blob0be12ce7f91856068f39a26fa010a1e04533b6e2
1 package org.codehaus.groovy.grails.domain;
3 class RelationshipsTest {
4 def hasMany = [ "ones" : OneToManyTest2.class,
5 "manys" : ManyToManyTest.class,
6 "uniones" : UniOneToManyTest.class ];
8 Long id;
9 Long version;
11 Set manys; // many-to-many relationship
12 OneToOneTest one; // uni-directional one-to-one
13 Set ones; // bi-directional one-to-many relationship
14 Set uniones; // uni-directional one-to-many relationship