67 lines
835 B
C#
67 lines
835 B
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;
|
|
private DateTime? _InsTs;
|
|
|
|
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 DateTime? InsTs
|
|
{
|
|
get
|
|
{
|
|
return _InsTs;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_InsTs, value))
|
|
{
|
|
_InsTs = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|