aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/EstateSettings.hbm.xml
blob: d300b93d590a3eb7dd4cf35a3d274cfaa62ad88d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
    <class name="OpenSim.Framework.EstateSettings, OpenSim.Framework" table="EstateSettings" lazy="false">
        
        <id name="EstateID" column="EstateID" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate"> 
          <generator class="increment" /> 
        </id>

        <property name="ParentEstateID" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
        <property name="EstateOwner" column="EstateOwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        
        <property name="EstateName" column="Name" type="String" length="64" />

        <property name="RedirectGridX" type="System.Int32" />
        <property name="RedirectGridY" type="System.Int32" />

        <property name="BillableFactor" type="System.Single" />
        <property name="PricePerMeter" type="System.Int32" />                
        <property name="SunPosition" type="System.Double" />

        <property name="UseGlobalTime" type="System.Boolean" />
        <property name="FixedSun" type="System.Boolean" />
        <property name="AllowVoice" type="System.Boolean" />
        <property name="AllowDirectTeleport" type="System.Boolean" />
        <property name="ResetHomeOnTeleport" type="System.Boolean" />
        <property name="PublicAccess" type="System.Boolean" />
        <property name="DenyAnonymous" type="System.Boolean" />
        <property name="DenyIdentified" type="System.Boolean" />
        <property name="DenyTransacted" type="System.Boolean" />
        <property name="DenyMinors" type="System.Boolean" />
        <property name="BlockDwell" type="System.Boolean" />
        <property name="EstateSkipScripts" type="System.Boolean" />
        <property name="TaxFree" type="System.Boolean" />
        <property name="AbuseEmailToEstateOwner" type="System.Boolean" />
      
        <property name="AbuseEmail" type="String" length="255" />

        <array name="EstateManagers" table="EstateManagers" cascade="all">
          <key column="EstateID" />
          <index column="ArrayIndex" />
          <element column="ManagerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        </array>

        <array name="EstateAccess" table="EstateUsers" cascade="all">
          <key column="EstateID" />
          <index column="ArrayIndex" />
          <element column="UserID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        </array>

        <array name="EstateGroups" table="EstateGroups" cascade="all">
          <key column="EstateID" />
          <index column="ArrayIndex" />
          <element column="GroupID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
        </array>

        <array name="EstateBans" table="EstateBans" cascade="all">
          <key column="EstateID" />
          <index column="ArrayIndex" />          
          <composite-element class="OpenSim.Framework.EstateBan, OpenSim.Framework">
            <property name="BannedUserID" column="BannedUserID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
            <property name="BannedHostAddress" column="BannedHostAddress" type="String" length="16"/>
            <property name="BannedHostIPMask" column="BannedHostIPMask" type="String" length="16"/>
            <property name="BannedHostNameMask" column="BannedHostNameMask" type="String" length="16"/>
          </composite-element>
        </array>
      
    </class>
</hibernate-mapping>