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

30 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.ResourceAppointment, BeWo.Data" table="ResourceAppointment">
<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="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="Type" type="Int32" name="Type" />
<property column="StartDate" type="DateTime" name="StartDate" />
<property column="EndDate" type="DateTime" name="EndDate" />
<property column="AllDay" type="Boolean" name="AllDay" />
<property column="Subject" type="String" name="Subject" />
<property column="Location" type="String" name="Location" />
<property column="Status" type="Int32" name="Status" />
<property column="RecurrenceInfo" type="String" name="RecurrenceInfo" />
<property column="ReminderInfo" type="String" name="ReminderInfo" />
<property column="FormerBookingOid" type="Int64" name="FormerBookingOid" />
<property column="FormerBookingSequenceOid" type="Int64" name="FormerBookingSequenceOid" />
<many-to-one name="Resource" column="ResourceOid" class="BeWo.Data.Entities.Resource, BeWo.Data" cascade="none" />
<many-to-one name="Employee" column="EmployeeOid" class="BeWo.Data.Entities.Employee,BeWo.Data" cascade="none" />
</class>
</hibernate-mapping>