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

        <property name="BlockTerraform" type="System.Boolean" />
        <property name="BlockFly" type="System.Boolean" />
        <property name="AllowDamage" type="System.Boolean" />
        <property name="RestrictPushing" type="System.Boolean" />
        <property name="AllowLandResell" type="System.Boolean" />
        <property name="AllowLandJoinDivide" type="System.Boolean" />
        <property name="BlockShowInSearch" type="System.Boolean" />

        <property name="AgentLimit" type="System.Int32" />
        <property name="ObjectBonus" type="System.Double" />
        <property name="Maturity" type="System.Int32" />

        <property name="DisableScripts" type="System.Boolean" />
        <property name="DisableCollisions" type="System.Boolean" />
        <property name="DisablePhysics" type="System.Boolean" />

        <property name="TerrainTexture1" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        <property name="TerrainTexture2" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        <property name="TerrainTexture3" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        <property name="TerrainTexture4" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />

        <property name="Elevation1NW" type="System.Double" />
        <property name="Elevation2NW" type="System.Double" />
        <property name="Elevation1NE" type="System.Double" />
        <property name="Elevation2NE" type="System.Double" />
        <property name="Elevation1SE" type="System.Double" />
        <property name="Elevation2SE" type="System.Double" />
        <property name="Elevation1SW" type="System.Double" />
        <property name="Elevation2SW" type="System.Double" />

        <property name="WaterHeight" type="System.Double" />
        <property name="TerrainRaiseLimit" type="System.Double" />
        <property name="TerrainLowerLimit" type="System.Double" />
      
        <property name="UseEstateSun" type="System.Boolean" />
        <property name="Sandbox" type="System.Boolean" />

        <property name="SunVector" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
          <column name="SunVectorX" />
          <column name="SunVectorY" />
          <column name="SunVectorZ" />
        </property>

      <property name="FixedSun" type="System.Boolean" />
        <property name="SunPosition" type="System.Double" />
        <property name="Covenant" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />

    </class>
</hibernate-mapping>