Files
BeWoPlaner/Data/Mappings/Person2Team.hbm.xml
2025-10-06 11:17:50 +02:00

23 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.Person2Team,BeWo.Data" table="Person2Team" >
<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="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="UpdTs" type="DateTime" name="UpdTs" />
<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 name="OwnChatRole" type="Int32"/>
<property column="TeamOid" type="Int64" name="TeamOid" update="false" insert="false"/>
<property column="PersonOid" type="Int64" name="PersonOid" update="false" insert="false"/>
<many-to-one name="Person" column="PersonOid" class="BeWo.Data.Entities.Person,BeWo.Data" cascade="none" />
<many-to-one name="Team" column="TeamOid" class="BeWo.Data.Entities.Team,BeWo.Data" cascade="none" />
</class>
</hibernate-mapping>