Files
BeWoPlaner/Data/Mappings/CostBearer2SupportConcept.hbm.xml
2016-06-27 01:45:38 +02:00

42 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.CostBearer2SupportConcept, BeWo.Data" table="CostBearer2SupportConcept" >
<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="Status" type="BS.Shared.CostBearer2SupportConceptStatus, BS.Shared" name="Status" />
<!--<property column="ApprovedFLS" type="System.Decimal" name="ApprovedFLS" />-->
<!--<property column="ApprovedFLSTotal" type="System.Decimal" name="ApprovedFLSTotal" />-->
<property column="MonthlyPayment" type="System.Decimal" name="MonthlyPayment" />
<property column="RequestedStartDate" type="DateTime" name="RequestedStartDate" />
<property column="RequestedEndDate" type="DateTime" name="RequestedEndDate" />
<property column="ApprovedStartDate" type="DateTime" name="ApprovedStartDate" />
<property column="ApprovedEndDate" type="DateTime" name="ApprovedEndDate" />
<property column="CustomerRefenrenceNumber" type="String" name="CustomerReferenceNumber" length="512" />
<property column="AuswahlBezeichnung" type="String" name="AuswahlBezeichnung" length="512" />
<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" />
<many-to-one name="CostBearer" column="CostBearerOid" class="BeWo.Data.Entities.CostBearer, BeWo.Data" cascade="none" />
<many-to-one name="SupportConcept" column="SupportConceptOid" class="BeWo.Data.Entities.SupportConcept, BeWo.Data" cascade="none" />
<many-to-one name="CostBearerContactPerson" column="PersonOid" class="BeWo.Data.Entities.Person,BeWo.Data" cascade="none" />
<bag name="ServiceRecords" table="ServiceRecord" generic="true" cascade="none" batch-size="250">
<key column="CostBearer2SupportConceptOid" />
<one-to-many class="BeWo.Data.Entities.ServiceRecord,BeWo.Data" />
</bag>
<bag name="AccountingTransactions" table="AccountingTransaction" generic="true" cascade="none" batch-size="250">
<key column="CostBearer2SupportConceptOid" />
<one-to-many class="BeWo.Data.Entities.AccountingTransaction,BeWo.Data" />
</bag>
<bag name="ApprovalPeriodList" table="SupportConceptApprovalPeriod" generic="true" cascade="all-delete-orphan" batch-size="250">
<key column="CostBearer2SupportConceptOid" />
<one-to-many class="BeWo.Data.Entities.SupportConceptApprovalPeriod,BeWo.Data" />
</bag>
</class>
</hibernate-mapping>