45 lines
2.5 KiB
XML
45 lines
2.5 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|||
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|||
|
|
<class name="BeWo.Data.Entities.NewSchedulerAppointment, BeWo.Data" table="NewSchedulerAppointment">
|
|||
|
|
<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="IsPrivate" type="Boolean" name="IsPrivate" />
|
|||
|
|
<many-to-one name="Originator" column="OriginatorOid" class="BeWo.Data.Entities.Employee, BeWo.Data" cascade="none" />
|
|||
|
|
|
|||
|
|
<map name="EmployeeList" table="Employee2NewSchApp">
|
|||
|
|
<key column="NewSchAppOid"/>
|
|||
|
|
<index-many-to-many column="EmployeeOid" class="BeWo.Data.Entities.Employee, BeWo.Data"/>
|
|||
|
|
<element column="IsParticipating" type="BS.Shared.ParticipationAnswer, BS.Shared"/>
|
|||
|
|
</map>
|
|||
|
|
|
|||
|
|
<bag name="CustomerList" table="Customer2NewSchApp" generic="true" cascade="none" batch-size="250">
|
|||
|
|
<key column="NewSchAppOid" />
|
|||
|
|
<many-to-many column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" />
|
|||
|
|
</bag>
|
|||
|
|
|
|||
|
|
<bag name="ResourceList" table="Resource2NewSchApp" generic="true" cascade="none" batch-size="250">
|
|||
|
|
<key column="NewSchAppOid" />
|
|||
|
|
<many-to-many column="ResourceOid" class="BeWo.Data.Entities.Resource, BeWo.Data" />
|
|||
|
|
</bag>
|
|||
|
|
</class>
|
|||
|
|
</hibernate-mapping>
|