aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml
diff options
context:
space:
mode:
authorSean Dague2008-04-10 23:52:23 +0000
committerSean Dague2008-04-10 23:52:23 +0000
commit3f47deab327890ab6e8fd3c93e10cdd171bb297b (patch)
treeb91d984791ad83c58017378a7adcd62b5a6652dd /OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml
parentadd some convenience properties. Move all the fields (diff)
downloadopensim-SC_OLD-3f47deab327890ab6e8fd3c93e10cdd171bb297b.zip
opensim-SC_OLD-3f47deab327890ab6e8fd3c93e10cdd171bb297b.tar.gz
opensim-SC_OLD-3f47deab327890ab6e8fd3c93e10cdd171bb297b.tar.bz2
opensim-SC_OLD-3f47deab327890ab6e8fd3c93e10cdd171bb297b.tar.xz
add user profile mapping for nhibernate
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml')
-rw-r--r--OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml b/OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml
new file mode 100644
index 0000000..25e073a
--- /dev/null
+++ b/OpenSim/Data/NHibernate/Resources/UserProfileData.hbm.xml
@@ -0,0 +1,29 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
3 <class name="OpenSim.Framework.UserProfileData, OpenSim.Framework" table="Users" lazy="false">
4 <id name="ID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate">
5 <generator class="assigned" />
6 </id>
7 <property name="FirstName" type="String" length="32" />
8 <property name="SurName" type="String" length="32" />
9 <property name="PasswordHash" type="String" length="32" />
10 <property name="PasswordSalt" type="String" length="32" />
11 <property name="WebLoginKey" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
12 <property name="HomeRegionX" type="UInt32" />
13 <property name="HomeLocationX" type="Float" />
14 <property name="HomeLocationY" type="Float" />
15 <property name="HomeLocationZ" type="Float" />
16 <property name="HomeLookAtX" type="Float" />
17 <property name="HomeLookAtY" type="Float" />
18 <property name="HomeLookAtZ" type="Float" />
19 <property name="Created" type="int" />
20 <property name="LastLogin" type="int" />
21 <property name="RootInventoryFolderID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
22 <property name="UserInventoryURI" type="String" length="255"/>
23 <property name="UserAssetURI" type="String" length="255"/>
24 <property name="Image" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
25 <property name="FirstLifeImage" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate" />
26 <property name="AboutText" type="String" length="255" />
27 <property name="FirstLifeAboutText" type="String" length="255" />
28 </class>
29</hibernate-mapping> \ No newline at end of file