1
0

EstateSettings.hbm.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  3. <class name="OpenSim.Framework.EstateSettings, OpenSim.Framework" table="EstateSettings" lazy="false">
  4. <id name="EstateID" column="EstateID" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate">
  5. <generator class="increment" />
  6. </id>
  7. <property name="ParentEstateID" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  8. <property name="EstateOwner" column="EstateOwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  9. <property name="EstateName" column="Name" type="String" length="64" />
  10. <property name="RedirectGridX" type="System.Int32" />
  11. <property name="RedirectGridY" type="System.Int32" />
  12. <property name="BillableFactor" type="System.Single" />
  13. <property name="PricePerMeter" type="System.Int32" />
  14. <property name="SunPosition" type="System.Double" />
  15. <property name="UseGlobalTime" type="System.Boolean" />
  16. <property name="FixedSun" type="System.Boolean" />
  17. <property name="AllowVoice" type="System.Boolean" />
  18. <property name="AllowDirectTeleport" type="System.Boolean" />
  19. <property name="ResetHomeOnTeleport" type="System.Boolean" />
  20. <property name="PublicAccess" type="System.Boolean" />
  21. <property name="DenyAnonymous" type="System.Boolean" />
  22. <property name="DenyIdentified" type="System.Boolean" />
  23. <property name="DenyTransacted" type="System.Boolean" />
  24. <property name="DenyMinors" type="System.Boolean" />
  25. <property name="BlockDwell" type="System.Boolean" />
  26. <property name="EstateSkipScripts" type="System.Boolean" />
  27. <property name="TaxFree" type="System.Boolean" />
  28. <property name="AbuseEmailToEstateOwner" type="System.Boolean" />
  29. <property name="AbuseEmail" type="String" length="255" />
  30. <array name="EstateManagers" table="EstateManagers" cascade="all">
  31. <key column="EstateID" />
  32. <index column="ArrayIndex" />
  33. <element column="ManagerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  34. </array>
  35. <array name="EstateAccess" table="EstateUsers" cascade="all">
  36. <key column="EstateID" />
  37. <index column="ArrayIndex" />
  38. <element column="UserID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  39. </array>
  40. <array name="EstateGroups" table="EstateGroups" cascade="all">
  41. <key column="EstateID" />
  42. <index column="ArrayIndex" />
  43. <element column="GroupID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  44. </array>
  45. <array name="EstateBans" table="EstateBans" cascade="all">
  46. <key column="EstateID" />
  47. <index column="ArrayIndex" />
  48. <composite-element class="OpenSim.Framework.EstateBan, OpenSim.Framework">
  49. <property name="BannedUserID" column="BannedUserID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  50. <property name="BannedHostAddress" column="BannedHostAddress" type="String" length="16"/>
  51. <property name="BannedHostIPMask" column="BannedHostIPMask" type="String" length="16"/>
  52. <property name="BannedHostNameMask" column="BannedHostNameMask" type="String" length="16"/>
  53. </composite-element>
  54. </array>
  55. </class>
  56. </hibernate-mapping>