2016-06-27 01:45:38 +02:00
|
|
|
|
using System.Collections.Generic;
|
2024-12-30 16:09:20 +01:00
|
|
|
|
using System.Diagnostics;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
using BS.Shared;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BeWo.Data.Entities
|
|
|
|
|
|
{
|
2024-12-30 16:09:20 +01:00
|
|
|
|
[DebuggerDisplay("{Name} ({ProzentAbrechnung}/{ProzentBudget}/{ProzentStundenkonto})")]
|
2016-06-27 01:45:38 +02:00
|
|
|
|
public class ServiceDescription : BeWoEntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string PropertyName_Abbreviation = "Abbreviation";
|
|
|
|
|
|
|
|
|
|
|
|
public static string PropertyName_Name = "Name";
|
|
|
|
|
|
|
|
|
|
|
|
public static string PropertyName_ServiceCategory = "ServiceCategory";
|
|
|
|
|
|
|
|
|
|
|
|
public static string PropertyName_CostRatePeriods = "CostRatePeriods";
|
|
|
|
|
|
|
|
|
|
|
|
private string _Abbreviation;
|
|
|
|
|
|
|
|
|
|
|
|
private string _Name;
|
|
|
|
|
|
|
|
|
|
|
|
private ServiceCategory _ServiceCategory;
|
|
|
|
|
|
|
|
|
|
|
|
private IList<CostRatePeriod> _CostRatePeriods;
|
|
|
|
|
|
|
|
|
|
|
|
public virtual IList<CostRatePeriod> CostRatePeriods
|
|
|
|
|
|
{
|
|
|
|
|
|
get { return this._CostRatePeriods ?? (this._CostRatePeriods = new List<CostRatePeriod>()); }
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._CostRatePeriods, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._CostRatePeriods = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual string Abbreviation
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._Abbreviation;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Abbreviation, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Abbreviation = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual string Name
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._Name;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Name, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Name = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual ServiceCategory ServiceCategory
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._ServiceCategory;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._ServiceCategory, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._ServiceCategory = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual decimal BillableAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual AccountingIntervalType? AccountingInterval { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual int Position { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual ServiceUnit? Unit { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual ScopeTypeId? ScopeType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual bool IsDefault { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual bool? DoNotCheckOverlapping { get; set; }
|
2022-12-15 23:16:04 +01:00
|
|
|
|
|
2023-01-12 12:12:27 +01:00
|
|
|
|
public virtual decimal? ProzentAbrechnung { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual decimal? ProzentBudget { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public virtual decimal? ProzentStundenkonto { get; set; }
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|