41 lines
2.6 KiB
XML
41 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.Wohnheim, BeWo.Data" table="Wohnheim">
|
|
<id name="Oid" column ="Oid" unsaved-value="null">
|
|
<generator class="identity" />
|
|
</id>
|
|
<version type="Int64" column="Version" name="Version" />
|
|
<property name="InsTs" />
|
|
<property name="InsUser" />
|
|
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
|
<property name="UdpUser" />
|
|
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
|
|
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
|
|
<property name="Notice" />
|
|
<property name="WohnheimName" column="WohnheimName" type="String"/>
|
|
<property name="Strasse" column="Strasse" type="String"/>
|
|
<property name="PLZ" column="PLZ" type="String"/>
|
|
<property name="Ort" column="Ort" type="String"/>
|
|
<property name="Bemerkung" column="Bemerkung" type="String"/>
|
|
<property name="PflichtbesetzungStart" column="PflichtbesetzungStart" type="String"/>
|
|
<property name="PflichtbesetzungEnde" column="PflichtbesetzungEnde" type="String"/>
|
|
<property name="PflichtbesetzungEinblenden" column="PflichtbesetzungEinblenden" type="Int32"/>
|
|
<property name="StandardZeilenanzahl" column="StandardZeilenanzahl" type="Int32"/>
|
|
<property name="Sortierungsart" column="Sortierungsart" type="Int32"/>
|
|
<property name="AbsteigendeSortierung" column="AbsteigendeSortierung" type="Int32"/>
|
|
|
|
<bag name="Employee2WohnheimList" table="employee2wohnheim" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="WohnheimOid" />
|
|
<one-to-many class="BeWo.Data.Entities.Employee2Wohnheim,BeWo.Data" />
|
|
</bag>
|
|
<bag name="Customer2WohnheimList" table="customer2wohnheim" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="WohnheimOid" />
|
|
<one-to-many class="BeWo.Data.Entities.Customer2Wohnheim,BeWo.Data" />
|
|
</bag>
|
|
<bag name="Wohneinheiten" table="Wohneinheit" inverse="true" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="WohnheimOid" not-null="true"/>
|
|
<one-to-many class="BeWo.Data.Entities.Wohneinheit,BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |