@hibernate.class table="lams_organisation" true @hibernate.id generator-class="native" type="java.lang.Integer" column="organisation_id" true @hibernate.property column="name" length="250" @hibernate.property column="description" length="250" @hibernate.property column="create_date" length="19" not-null="true" @hibernate.many-to-one not-null="true" @hibernate.column name="workspace_id" @hibernate.many-to-one not-null="true" @hibernate.column name="organisation_type_id" @hibernate.set lazy="true" inverse="true" cascade="all-delete-orphan" @hibernate.collection-key column="organisation_id" @hibernate.collection-one-to-many class="org.lamsfoundation.lams.usermanagement.UserOrganisation" @hibernate.set lazy="true" inverse="true" cascade="none" @hibernate.collection-key column="parent_organisation_id" @hibernate.collection-one-to-many class="org.lamsfoundation.lams.usermanagement.Organisation" @hibernate.many-to-one @hibernate.column name="parent_organisation_id" @hibernate.set lazy="true" inverse="true" cascade="none" @hibernate.collection-key column="base_organisation_id" @hibernate.collection-one-to-many class="org.lamsfoundation.lams.usermanagement.User" @hibernate.set lazy="true" inverse="true" cascade="none" @hibernate.collection-key column="organisation_id" @hibernate.collection-one-to-many class="org.lamsfoundation.lams.lesson.Lesson"