Files
BeWoPlaner/Data/Mappings/ServiceInvoicePeriod.hbm.xml

34 lines
2.5 KiB
XML
Raw Permalink Normal View History

2016-06-27 01:45:38 +02:00
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.ServiceInvoicePeriod,BeWo.Data" table="ServiceInvoicePeriod">
<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="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="ApprovedFixedAmount" type="Decimal" name="ApprovedFixedAmount" />
<property column="ApprovedAmountDefaultHourlyRate" type="Decimal" name="ApprovedAmountDefaultHourlyRate" />
<property column="Claim" type="Decimal" name="Claim" />
<property column="HoursNotBillableAbsence" type="Decimal" name="HoursNotBillableAbsence" />
<property column="HoursNotBillableNotApproved" type="Decimal" name="HoursNotBillableNotApproved" />
<property column="ApprovedBE" type="Decimal" name="ApprovedBE" />
<property column="ApprovedHours" type="Decimal" name="ApprovedHours" />
<property column="Start" type="DateTime" name="Start" />
<property column="End" type="DateTime" name="End" />
<property column="UdpUser" type="String" name="UdpUser" length="256" />
<property column="ServiceUnitName" type="String" name="ServiceUnitName" />
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
<property name="AccountingInterval" type="BS.Shared.AccountingIntervalType, BS.Shared"/>
<many-to-one name="SupportConceptApprovalPeriod" column="SupportConceptApprovalPeriodOid" class="BeWo.Data.Entities.SupportConceptApprovalPeriod, BeWo.Data" cascade="none" />
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" cascade="none" />
<bag name="InvoiceItemList" table="InvoiceItem" generic="true" cascade="all-delete-orphan" batch-size="250">
<key column="ServiceInvoicePeriodOid" />
<one-to-many class="BeWo.Data.Entities.InvoiceItem,BeWo.Data" />
</bag>
</class>
</hibernate-mapping>