26 lines
1.7 KiB
XML
26 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.CostBearer, BeWo.Data" table="CostBearer" >
|
|
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
|
<generator class="identity" />
|
|
</id>
|
|
<version type="Int64" column="Version" name="Version" />
|
|
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
|
<property column="ReferenceNumber" type="String" name="ReferenceNumber" length="128" />
|
|
<property column="IsCalculatingWithFactor" type="Boolean" name="IsCalculatingWithFactor" />
|
|
<property column="IsSingleInvoicePerCustomer" type="Boolean" name="IsSingleInvoicePerCustomer" />
|
|
<property column="Notice" type="String" name="Notice" length="1024" />
|
|
<property column="InsTs" type="DateTime" name="InsTs" />
|
|
<property column="InsUser" type="String" name="InsUser" length="256" />
|
|
<property column="UdpUser" type="String" name="UdpUser" length="256" />
|
|
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
|
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
|
<property column="ID" type="String" name="ID" length="256" />
|
|
<one-to-one name="Organisation" property-ref="CostBearer" class="BeWo.Data.Entities.Organisation, BeWo.Data" />
|
|
<bag name="CostRatePeriods" table="CostRatePeriod" generic="true" cascade="all-delete-orphan" where="ObjectTid = 22" lazy="true" batch-size="250">
|
|
<key column="ObjectOid" />
|
|
<one-to-many class="BeWo.Data.Entities.CostRatePeriod,BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |