20 lines
960 B
XML
20 lines
960 B
XML
<?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">
|
|
<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"/>
|
|
<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" />
|
|
<property name="Salt" column="salt" not-null="false" length="100" />
|
|
</component>
|
|
</class>
|
|
|
|
</hibernate-mapping> |