30 lines
1.9 KiB
XML
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.ServiceRecordGroup, BeWo.Data" table="ServiceRecordGroup">
|
|
<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="CustomerCount" type="Int32" name="CustomerCount" />
|
|
<property column="EmployeeCount" type="Int32" name="EmployeeCount" />
|
|
<property column="RoundedDuration" type="System.Decimal" name="RoundedDuration" />
|
|
<property column="StartDate" type="DateTime" name="StartDate" />
|
|
<property column="EndDate" type="DateTime" name="EndDate" />
|
|
<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="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" />
|
|
<bag name="ServiceRecordList" table="ServiceRecord" generic="true" cascade="all-delete-orphan" batch-size="250">
|
|
<key column="GroupOid" />
|
|
<one-to-many class="BeWo.Data.Entities.ServiceRecord,BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |