51 lines
3.5 KiB
XML
51 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.SupportConcept, BeWo.Data" table="SupportConcept" lazy="false">
|
|
<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="Conference" type="Boolean" name="Conference" />
|
|
<property column="ConferenceVenue" type="String" name="ConferenceVenue" />
|
|
<property column="ConferenceDate" type="DateTime" name="ConferenceDate" />
|
|
<property column="ApprovalDate" type="DateTime" name="ApprovalDate" />
|
|
<property column="RenewalSendDate" type="DateTime" name="RenewalSendDate" />
|
|
<property column="RequisitionSendDate" type="DateTime" name="RequisitionSendDate" />
|
|
<property column="SupportConceptSendDate" type="DateTime" name="SupportConceptSendDate" />
|
|
<property column="ConsultingNeeded" type="Boolean" name="ConsultingNeeded" />
|
|
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
|
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
|
<property column="Notice" type="String" name="Notice" />
|
|
<property column="InsTs" type="DateTime" name="InsTs" />
|
|
<property column="InsUser" type="String" name="InsUser" />
|
|
<property column="UdpUser" type="String" name="UdpUser" />
|
|
<many-to-one name="Customer" column="CustomerOid" class="BeWo.Data.Entities.Customer, BeWo.Data" fetch="join"/>
|
|
<many-to-one name="Originator" column="EmployeeOid" class="BeWo.Data.Entities.Employee, BeWo.Data" />
|
|
<bag name="CostBearer2SupportConceptList" table="CostBearer2SupportConcept" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="SupportConceptOid" />
|
|
<one-to-many class="BeWo.Data.Entities.CostBearer2SupportConcept,BeWo.Data" />
|
|
</bag>
|
|
<bag name="ServiceRecordList" table="ServiceRecord" generic="true" cascade="none" batch-size="250">
|
|
<key column="SupportConceptOid" />
|
|
<one-to-many class="BeWo.Data.Entities.ServiceRecord,BeWo.Data" />
|
|
</bag>
|
|
<bag name="ValueList" table="ValueListEntry2Object" generic="true" cascade="all-delete-orphan" where="ObjectTid = 15" batch-size="250">
|
|
<key column="ObjectOid" />
|
|
<one-to-many class="BeWo.Data.Entities.ValueListEntry2Object,BeWo.Data" />
|
|
</bag>
|
|
<bag name="ServiceAccountings" table="ServiceAccounting" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="SupportConceptOid" />
|
|
<one-to-many class="BeWo.Data.Entities.ServiceAccounting,BeWo.Data" />
|
|
</bag>
|
|
<bag name="VarFieldValueList" table="VarFieldValue" generic="true" cascade="all-delete-orphan" where="ObjectTid = 15 AND IsActive=1" batch-size="250">
|
|
<key column="ObjectOid" />
|
|
<one-to-many class="BeWo.Data.Entities.VarFieldValue, BeWo.Data" />
|
|
</bag>
|
|
<bag name="Ratings" table="Rating" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="SupportConceptOid" />
|
|
<one-to-many class="BeWo.Data.Entities.Rating,BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |