Files
BeWoPlaner/Data/Mappings/ServiceRecord.hbm.xml
Waldi e8da1fdff7 BewoPlaner .Net Version 4.5 und Devexpress version 17....
plus RTF Dokumentation für HPH bersenbrueck unter ServiceRecord
und paar kleinigkeiten
2017-07-27 09:58:04 +02:00

59 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.ServiceRecord, BeWo.Data" table="ServiceRecord">
<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="StartDate" type="DateTime" name="Start" />
<property column="EndDate" type="DateTime" name="End" />
<property column="IP" type="String" name="IP" length="128" />
<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="RoundedDuration" type="System.Decimal" name="RoundedDuration" />
<property column="EmployeeOid" type="Int64" name="EmployeeOid" update="false" insert="false" />
<property column="CustomerOid" type="Int64" name="CustomerOid" update="false" insert="false" />
<property column="CostBearer2SupportConceptOid" type="Int64" name="CostBearer2SupportConceptOid" update="false" insert="false" />
<property column="GroupPersonCount" type="Int32" name="GroupPersonCount" />
<property column="GroupEmployeeCount" type="Int32" name="GroupEmployeeCount" />
<property column="GroupRoundedDuration" type="Decimal" name="GroupRoundedDuration" />
<property column="GroupOid" type="Int64" name="GroupOid" update="false" insert="false" />
<property column="ServiceRecordType" type="BS.Shared.ServiceRecordTypeId, BS.Shared" name="ServiceRecordType" />
<property column="DistanceInMeter" type="Int32" name="DistanceInMeter" />
<property column="Relevance" type="Int32" name="Relevance" />
<property column="IsCreatedInMobileClient" type="Boolean" name="IsCreatedInMobileClient" />
<property name="WohnheimbuchungsOid" column="WohnheimbuchungsOid" type="Int64" />
<property name="SignatureOid" column="SignatureOid" type="Int64" />
<property column="Notice2" type="String" name="Notice2" length="1024" />
<property column="Notice3" type="String" name="Notice3" length="1024" />
<property column="Notice4" type="String" name="Notice4" length="1024" />
<property column="Notice5" type="String" name="Notice5" length="1024" />
<property column="DurationInStunden" type="BS.Shared.ZeiterfassungsDauer, BS.Shared" name="DurationInStunden" />
<property column="ServiceRecordFormat" type="BS.Shared.ServiceRecordFormate, BS.Shared" name="ServiceRecordFormat" />
<property column="RTFNotice1" type="String" name="RTFNotice1" length="1024" />
<property column="RTFNotice2" type="String" name="RTFNotice2" length="1024" />
<property column="RTFNotice3" type="String" name="RTFNotice3" length="1024" />
<property column="RTFNotice4" type="String" name="RTFNotice4" length="1024" />
<property column="RTFNotice5" type="String" name="RTFNotice5" length="1024" />
<many-to-one name="Group" column="GroupOid" class="BeWo.Data.Entities.ServiceRecordGroup,BeWo.Data" cascade="none" />
<many-to-one name="Employee" column="EmployeeOid" class="BeWo.Data.Entities.Employee,BeWo.Data" cascade="none" />
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer,BeWo.Data" cascade="none" />
<many-to-one name="SupportConcept" column="SupportConceptOid" class="BeWo.Data.Entities.SupportConcept,BeWo.Data" cascade="none" />
<many-to-one name="CostBearer2SupportConcept" column="CostBearer2SupportConceptOid" class="BeWo.Data.Entities.CostBearer2SupportConcept,BeWo.Data" cascade="none" />
<many-to-one name="ServiceDescription" column="ServiceDescriptionOid" class="BeWo.Data.Entities.ServiceDescription,BeWo.Data" cascade="none" />
<bag name="ValueList" table="ValueListEntry2Object" generic="true" cascade="all-delete-orphan" where="ObjectTid = 45" batch-size="250">
<key column="ObjectOid" />
<one-to-many class="BeWo.Data.Entities.ValueListEntry2Object,BeWo.Data" />
</bag>
</class>
</hibernate-mapping>