Files
BeWoPlaner/Data/Mappings/MedRecord.hbm.xml
2016-06-27 01:45:38 +02:00

25 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.MedRecord, BeWo.Data" table="MedRecord">
<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="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" />
<many-to-one column="CustomerOid" name="Customer" class="BeWo.Data.Entities.Customer, BeWo.Data" cascade="none" />
<many-to-one column="EmployeeOid" name="Employee" class="BeWo.Data.Entities.Employee, BeWo.Data" cascade="none" />
<many-to-one column="DosageFormOid" name="DosageForm" class="BeWo.Data.Entities.Darreichungsform, BeWo.Data" />
<property column="MedName" name="MedName" type="String" length="256" />
<property column="MedDate" name="MedDate" type="DateTime" />
<property column="PrescribingDoctor" name="PrescribingDoctor" type="String" length="256" />
</class>
</hibernate-mapping>