2016-06-27 01:45:38 +02:00
<?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" />
2025-03-16 20:42:21 +01:00
<property column= "UpdTs" type= "DateTime" name= "UpdTs" />
2016-06-27 01:45:38 +02:00
<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" />
2025-08-01 16:52:46 +02:00
<property column= "GrossSalary" type= "Decimal" name= "GrossSalary" />
2016-06-27 01:45:38 +02:00
<property column= "WeeklyFLS" type= "Decimal" name= "WeeklyFLS" />
2017-04-03 13:39:11 +02:00
<property column= "MonthlyFLS" type= "Decimal" name= "MonthlyFLS" />
2016-06-27 01:45:38 +02:00
<property column= "WeeklyTotalHours" type= "Decimal" name= "WeeklyTotalHours" />
2016-10-06 14:45:14 +02:00
<property column= "MonthlyTotalHours" type= "Decimal" name= "MonthlyTotalHours" />
2016-06-27 01:45:38 +02:00
<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" />
2018-10-08 11:57:16 +02:00
<property column= "ProbationPeriod2" type= "Decimal" name= "ProbationPeriod2" />
2016-06-27 01:45:38 +02:00
<property column= "WeeklyDays" type= "Int32" name= "WeeklyDays" />
2023-09-04 17:10:42 +02:00
<!-- BUG: Lazy - Loading auf false setzen, da es sonst zu einer Exception wegen einer geschlossenen NHibernate - Session im MoK bei dem Mitarbeiterstundenkonto kommt, wenn auf EmploymentType zugegriffen wird (Z.B. bei BetreuWo e.V.) -->
2023-09-04 16:57:20 +02:00
<many-to-one name= "EmploymentType" lazy= "false" column= "EmploymentTypeOid" class= "BeWo.Data.Entities.EmploymentType,BeWo.Data" cascade= "none" />
2018-10-08 11:57:16 +02:00
<many-to-one name= "HourlyRateCostRateValue" column= "HourlyRateCostRateValueOid" class= "BeWo.Data.Entities.CostRatePeriod,BeWo.Data" cascade= "none" />
<many-to-one name= "ContractTypeValueListEntry" column= "ContractTypeValueListEntryOid" class= "BeWo.Data.Entities.ValueListEntry,BeWo.Data" cascade= "none" />
<many-to-one name= "QualifikationsBedarfValueListEntry" column= "QualifikationsBedarfValueListEntryOid" class= "BeWo.Data.Entities.ValueListEntry,BeWo.Data" cascade= "none" />
2016-06-27 01:45:38 +02:00
</class>
</hibernate-mapping>