Files
BeWoPlaner/Data/Mappings/ServiceCategory.hbm.xml
2023-01-16 14:33:52 +01:00

34 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.ServiceCategory, BeWo.Data" table="ServiceCategory">
<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="Name" type="string" name="Name" />
<property column="Abbreviation" type="String" name="Abbreviation" length="16" />
<property column="Percentage" type="System.Decimal" name="ProzentAbrechnung" />
<property column="ProzentBudget" type="System.Decimal" name="ProzentBudget" />
<property column="ProzentStundenkonto" type="System.Decimal" name="ProzentStundenkonto" />
<property column="Billable" type="Boolean" name="IsBillable" />
<property column="nurOhneHilfeplan" type="BS.Shared.AccountingvisibilityType, BS.Shared" name="OhneHilfeplan" />
<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 name="BillableAmount" type="Decimal" />
<property name="AccountingInterval" type="BS.Shared.AccountingIntervalType, BS.Shared"/>
<property name="Position" type="Int32"/>
<property name="IsDefault" type="Boolean"/>
<property name="ScopeType" type="BS.Shared.ScopeTypeId, BS.Shared"/>
<bag name="CostRatePeriods" table="CostRatePeriod" generic="true" cascade="all-delete-orphan" where="ObjectTid = 43" batch-size="250">
<key column="ObjectOid" />
<one-to-many class="BeWo.Data.Entities.CostRatePeriod,BeWo.Data" />
</bag>
</class>
</hibernate-mapping>