Files
BeWoPlaner/Data/Entities/Preis.cs
2021-08-17 17:12:52 +02:00

69 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BS.Shared;
namespace BeWo.Data.Entities
{
public class Preis : BeWoEntityBase
{
private string _Name;
private decimal? _Betrag;
public static string PropertyName_CostRatePeriods = "CostRatePeriods";
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 Preis()
{
_Tid = TableID.Preis;
}
public virtual string Name
{
get
{
return _Name;
}
set
{
if (AreDifferent(_Name, value))
{
_Name = value;
}
}
}
public virtual decimal? Betrag
{
get
{
return _Betrag;
}
set
{
if (AreDifferent(_Betrag, value))
{
_Betrag = value;
}
}
}
public virtual bool? DoNotCheckOverlapping { get; set; }
}
}