19 lines
851 B
XML
19 lines
851 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="user">
|
|
<id column="user_id" name="Id" type="int">
|
|
<generator class="identity" />
|
|
</id>
|
|
|
|
<property name="Username" column="username" not-null="true" type="string" length="50"/>
|
|
<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="password" not-null="false" length="100" />
|
|
<property name="Salt" column="salt" not-null="false" length="100" />
|
|
</component>
|
|
</class>
|
|
|
|
</hibernate-mapping> |