using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using BS.Shared; namespace BeWo.Data.Entities { public class ContractHistory : BeWoEntityBase { public static string PropertyName_ContractHistoryProbationPeriod = "ContractHistoryProbationPeriod"; public static string PropertyName_ContractHistoryWeeklyDays = "ContractHistoryWeeklyDays"; public static string PropertyName_ContractHistoryCancellationPeriod = "ContractHistoryCancellationPeriod"; public static string PropertyName_ContractHistoryEntryDate = "ContractHistoryEntryDate"; public static string PropertyName_ContractHistoryContractEndDate = "ContractHistoryContractEndDate"; public static string PropertyName_ContractHistoryHourlyRate = "ContractHistoryHourlyRate"; public static string PropertyName_ContractHistoryWeeklyFLS = "ContractHistoryWeeklyFLS"; public static string PropertyName_ContractHistoryMonthlyFLS = "ContractHistoryMonthlyFLS"; public static string PropertyName_ContractHistoryWeeklyTotalHours = "ContractHistoryWeeklyTotalHours"; public static string PropertyName_ContractHistoryMonthlyTotalHours = "ContractHistoryMonthlyTotalHours"; public static string PropertyName_ContractHistoryLeaveDays = "ContractHistoryLeaveDays"; public static string PropertyName_ContractHistoryEmployeeOid = "ContractHistoryEmployeeOid"; public static string PropertyName_ContractHistoryEmploymentType = "ContractHistoryEmploymentType"; private StatementType _ChangeType; private decimal? _LeaveDays; private decimal? _WeeklyTotalHours; private decimal? _MonthlyTotalHours; private decimal? _WeeklyFLS; private decimal? _MonthlyFLS; private decimal? _HourlyRate; private DateTime? _EntryDate; private DateTime? _ContractEndDate; private int _CancellationPeriod; private int _ProbationPeriod; private int? _WeeklyDays; private long _EmployeeOid; private EmploymentType _EmploymentType; public ContractHistory() { this._Tid = TableID.ContractHistory; } public virtual StatementType ChangeType { get { return _ChangeType; } set { if (AreDifferent(_ChangeType, value)) { _ChangeType = value; } } } public virtual EmploymentType ContractHistoryEmploymentType { get { return this._EmploymentType; } set { if (this.AreDifferent(this._EmploymentType, value)) { this._EmploymentType = value; } } } public virtual decimal? ContractHistoryLeaveDays { get { return _LeaveDays; } set { if (base.AreDifferent(_LeaveDays, value)) _LeaveDays = value; } } public virtual decimal? ContractHistoryWeeklyTotalHours { get { return _WeeklyTotalHours; } set { if (base.AreDifferent(_WeeklyTotalHours, value)) _WeeklyTotalHours = value; } } public virtual decimal? ContractHistoryMonthlyTotalHours { get { return _MonthlyTotalHours; } set { if (base.AreDifferent(_MonthlyTotalHours, value)) _MonthlyTotalHours = value; } } public virtual decimal? ContractHistoryWeeklyFLS { get { return _WeeklyFLS; } set { if (base.AreDifferent(_WeeklyFLS, value)) _WeeklyFLS = value; } } public virtual decimal? ContractHistoryMonthlyFLS { get { return _MonthlyFLS; } set { if (base.AreDifferent(_MonthlyFLS, value)) _MonthlyFLS = value; } } public virtual int ContractHistoryProbationPeriod { get { return _ProbationPeriod; } set { if (base.AreDifferent(_ProbationPeriod, value)) _ProbationPeriod = value; } } public virtual int? ContractHistoryWeeklyDays { get { return _WeeklyDays; } set { if (base.AreDifferent(_WeeklyDays, value)) _WeeklyDays = value; } } public virtual int ContractHistoryCancellationPeriod { get { return _CancellationPeriod; } set { if (base.AreDifferent(_CancellationPeriod, value)) _CancellationPeriod = value; } } public virtual DateTime? ContractHistoryEntryDate { get { return _EntryDate; } set { if (base.AreDifferent(_EntryDate, value)) _EntryDate = value; } } public virtual DateTime? ContractHistoryContractEndDate { get { return _ContractEndDate; } set { if (base.AreDifferent(_ContractEndDate, value)) _ContractEndDate = value; } } public virtual decimal? ContractHistoryHourlyRate { get { return _HourlyRate; } set { if (base.AreDifferent(_HourlyRate, value)) _HourlyRate = value; } } public virtual long ContractHistoryEmployeeOid { get { return _EmployeeOid; } set { if (base.AreDifferent(_EmployeeOid, value)) _EmployeeOid = value; } } public virtual CostRatePeriod ContractHistoryHourlyRateCostRateValue { get; set; } public virtual decimal? ContractHistoryProbationPeriod2 { get; set; } public virtual ValueListEntry ContractHistoryContractTypeValueListEntry { get; set; } public virtual ValueListEntry ContractHistoryQualifikationsBedarfValueListEntry { get; set; } } }