35 lines
2.1 KiB
XML
35 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.ApplicationUser, BeWo.Data" table="ApplicationUser">
|
|
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
|
<generator class="identity" />
|
|
</id>
|
|
<version type="Int64" column="Version" name="Version" />
|
|
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
|
<property column="LoginName" type="String" name="LoginName" length="64" />
|
|
<property column="Password" type="String" name="HashedPassword" length="64" />
|
|
<property column="Salt" type="String" name="Salt"/>
|
|
<property column="Notice" type="String" name="Notice" length="1024" />
|
|
<property column="InsTs" type="DateTime" name="InsTs" />
|
|
<property column="InsUser" type="String" name="InsUser" length="256" />
|
|
<property column="UdpUser" type="String" name="UdpUser" length="256" />
|
|
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
|
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
|
<property column="CreationDate" type="DateTime" name="Zeitstempel" />
|
|
|
|
<many-to-one name="Employee" column="EmployeeOid" class="BeWo.Data.Entities.Employee,BeWo.Data" cascade="none" />
|
|
<bag name="UserGroups" table="InGroup" generic="true" cascade="none" batch-size="250">
|
|
<key column="ApplicationUserOid" />
|
|
<many-to-many column="UserGroupOid" class="BeWo.Data.Entities.UserGroup,BeWo.Data" />
|
|
</bag>
|
|
<bag name="SettingList" table="Settings" generic="true" cascade="all-delete-orphan" where="ObjectTid = 28" batch-size="250">
|
|
<key column="ObjectOid" />
|
|
<one-to-many class="BeWo.Data.Entities.Settings,BeWo.Data" />
|
|
</bag>
|
|
<bag name="ResetPasswordInfos" table="appuser2resetpassword" generic="true" cascade="none">
|
|
<key column="ApplicationUserOid" />
|
|
<many-to-many column="ResetPasswordOid" class="BeWo.Data.Entities.ResetPasswordInfo, BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |