27 lines
1.3 KiB
XML
27 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.Arbeitszeit, BeWo.Data" table="arbeitszeit">
|
|
<id name="Oid" column ="Oid" unsaved-value="null">
|
|
<generator class="identity" />
|
|
</id>
|
|
<version type="Int64" column="Version" name="Version" />
|
|
<property name="EmployeeOid" column="EmployeeOid" />
|
|
<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" column="Notice" length="1024" />
|
|
<property name="GueltigVon" column="GueltigVon" />
|
|
<property name="GueltigBis" column="GueltigBis" />
|
|
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" cascade="none" fetch="join" />
|
|
|
|
<bag name="ArbeitszeitEintraege" table="ArbeitszeitEintrag" generic="true" cascade="all-delete-orphan">
|
|
<key column="ArbeitszeitOid" />
|
|
<one-to-many class="BeWo.Data.Entities.ArbeitszeitEintrag, BeWo.Data" />
|
|
</bag>
|
|
|
|
</class>
|
|
</hibernate-mapping> |