vgquotes/Src/VideoGameQuotes.Api/Mappings/User.hbm.xml

20 lines
960 B
XML
Raw Normal View History

2011-02-09 00:05:32 +00:00
<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="VideoGameQuotes.Api" namespace="VideoGameQuotes.Api">
<class name="User" table="vgquote_user">
2011-02-09 00:05:32 +00:00
<id column="user_id" name="Id" type="int">
<generator class="identity" />
</id>
<property name="Username" column="username" not-null="false" type="string" length="50"/>
<property name="IpAddress" column="ip_address" not-null="false" type="string" length="40"/>
2011-02-09 00:05:32 +00:00
<property name="Created" column="created" not-null="true" type="DateTime" />
<property name="Group" column="user_group" not-null="true" />
<component name="passwordProtector" access="field" class="Portoa.Security.NullAllowingPasswordProtector, Portoa">
<property name="Password" column="user_password" not-null="false" length="100" />
2011-02-09 00:05:32 +00:00
<property name="Salt" column="salt" not-null="false" length="100" />
</component>
</class>
</hibernate-mapping>