<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
    <class name="OpenSim.Data.RegionProfileData, OpenSim.Data" table="Regions" lazy="false">
        <id name="Uuid" column="RegionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"> 
            <generator class="assigned" /> 
        </id>

        <property name="Owner_uuid" column="OwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        <property name="OriginUUID" column="OriginID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />

        <property name="RegionHandle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
        <property name="RegionName" type="String" length="32" />
        <property name="RegionRecvKey" type="String" length="128" />
        <property name="RegionSendKey" type="String" length="128" />
        <property name="RegionSecret" type="String" length="128" />
        <property name="RegionDataURI" type="String" length="255" />
      
        <property name="ServerIP" type="String" length="64" />
        <property name="ServerPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
        <property name="ServerURI" type="String" length="255" />

        <property name="RegionLocX" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
        <property name="RegionLocY" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
        <property name="RegionLocZ" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />

        <property name="EastOverrideHandle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
        <property name="WestOverrideHandle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
        <property name="SouthOverrideHandle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
        <property name="NorthOverrideHandle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />

        <property name="RegionAssetURI" type="String" length="255" />
        <property name="RegionAssetRecvKey" type="String" length="128" />
        <property name="RegionAssetSendKey" type="String" length="128" />

        <property name="RegionUserURI" type="String" length="255" />
        <property name="RegionUserRecvKey" type="String" length="128" />
        <property name="RegionUserSendKey" type="String" length="128" />
        <property name="RegionMapTextureID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />

        <property name="ServerHttpPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
        <property name="ServerRemotingPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />

    </class>
</hibernate-mapping>