Files

69 lines
1.2 KiB
C#
Raw Permalink Normal View History

2021-08-04 14:30:26 +02:00
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;
2021-08-17 15:52:30 +02:00
private decimal? _Betrag;
public static string PropertyName_CostRatePeriods = "CostRatePeriods";
2021-08-11 12:06:56 +02:00
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;
}
}
}
2021-08-04 14:30:26 +02:00
public Preis()
{
_Tid = TableID.Preis;
}
public virtual string Name
{
get
{
return _Name;
}
set
{
if (AreDifferent(_Name, value))
{
_Name = value;
}
}
}
2021-08-17 15:52:30 +02:00
public virtual decimal? Betrag
{
get
{
return _Betrag;
}
set
{
if (AreDifferent(_Betrag, value))
{
_Betrag = value;
}
}
}
2021-08-11 12:06:56 +02:00
public virtual bool? DoNotCheckOverlapping { get; set; }
2021-08-04 14:30:26 +02:00
}
}