Files
BeWoPlaner/Data/Mappings/Contract.hbm.xml

31 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.Contract,BeWo.Data" table="Contract" >
<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" />
<property column="EmployeeOid" type="Int64" name="EmployeeOid" update="false" insert="false"/>
<property column="HourlyRate" type="Decimal" name="HourlyRate" />
<property column="WeeklyFLS" type="Decimal" name="WeeklyFLS" />
<property column="WeeklyTotalHours" type="Decimal" name="WeeklyTotalHours" />
<property column="MonthlyTotalHours" type="Decimal" name="MonthlyTotalHours" />
<property column="LeaveDays" type="Decimal" name="LeaveDays" />
<property column="EntryDate" type="DateTime" name="EntryDate" />
<property column="ContractEndDate" type="DateTime" name="ContractEndDate" />
<property column="CancellationPeriod" type="Int32" name="CancellationPeriod" />
<property column="ProbationPeriod" type="Int32" name="ProbationPeriod" />
<property column="WeeklyDays" type="Int32" name="WeeklyDays" />
<many-to-one name="EmploymentType" column="EmploymentTypeOid" class="BeWo.Data.Entities.EmploymentType,BeWo.Data" cascade="none" />
</class>
</hibernate-mapping>