Files
BeWoPlaner/Data/Entities/Wohneinheit.cs
Rene Evertz 67709a737f Unit Test Solution
+ Wohneinheit dc,entity,db
+ Wohneinheitbelegung ...
2024-07-15 12:01:36 +02:00

258 lines
6.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Entities
{
public class Wohneinheit : BeWoEntityBase
{
public static string PropertyName_Wohnheim = nameof(Wohnheim);
public static string PropertyName_Wohnname = nameof(Wohnname);
public static string PropertyName_Zimmername = nameof(Zimmername);
public static string PropertyName_Miete = nameof(Miete);
public static string PropertyName_Heizung = nameof(Heizung);
public static string PropertyName_Strom = nameof(Strom);
public static string PropertyName_Betriebskosten = nameof(Betriebskosten);
public static string PropertyName_SonstigeKosten = nameof(SonstigeKosten);
public static string PropertyName_QM = nameof(QM);
public static string PropertyName_Baujahr = nameof(Baujahr);
public static string PropertyName_Mobilierung = nameof(Mobilierung);
public static string PropertyName_Zusatznotiz = nameof(Zusatznotiz);
public static string PropertyName_Stock = nameof(Stock);
public static string PropertyName_Belegungen = nameof(Belegungen);
private Wohnheim _Wohnheim;
private string _Wohnname;
private string _Zimmername;
private decimal _Miete;
private decimal _Heizung;
private decimal _Strom;
private decimal _Betriebskosten;
private decimal _SonstigeKosten;
private decimal _QM;
private int _Baujahr;
private string _Mobilierung;
private string _Zusatznotiz;
private string _Stock;
private IList<WohneinheitBelegung> _Belegungen;
public Wohneinheit()
{
_Tid = BS.Shared.TableID.Wohneinheit;
}
public virtual Wohnheim Wohnheim
{
get
{
return this._Wohnheim;
}
set
{
if (this.AreDifferent(this._Wohnheim, value))
{
this._Wohnheim = value;
}
}
}
public virtual string Wohnname
{
get
{
return this._Wohnname;
}
set
{
if (this.AreDifferent(this._Wohnname, value))
{
this._Wohnname = value;
}
}
}
public virtual string Zimmername
{
get
{
return this._Zimmername;
}
set
{
if (this.AreDifferent(this._Zimmername, value))
{
this._Zimmername = value;
}
}
}
public virtual decimal Miete
{
get
{
return this._Miete;
}
set
{
if (this.AreDifferent(this._Miete, value))
{
this._Miete = value;
}
}
}
public virtual decimal Heizung
{
get
{
return this._Heizung;
}
set
{
if (this.AreDifferent(this._Heizung, value))
{
this._Heizung = value;
}
}
}
public virtual decimal Strom
{
get
{
return this._Strom;
}
set
{
if (this.AreDifferent(this._Strom, value))
{
this._Strom = value;
}
}
}
public virtual decimal Betriebskosten
{
get
{
return this._Betriebskosten;
}
set
{
if (this.AreDifferent(this._Betriebskosten, value))
{
this._Betriebskosten = value;
}
}
}
public virtual decimal SonstigeKosten
{
get
{
return this._SonstigeKosten;
}
set
{
if (this.AreDifferent(this._SonstigeKosten, value))
{
this._SonstigeKosten = value;
}
}
}
public virtual decimal QM
{
get
{
return this._QM;
}
set
{
if (this.AreDifferent(this._QM, value))
{
this._QM = value;
}
}
}
public virtual int Baujahr
{
get
{
return this._Baujahr;
}
set
{
if (this.AreDifferent(this._Baujahr, value))
{
this._Baujahr = value;
}
}
}
public virtual string Mobilierung
{
get
{
return this._Mobilierung;
}
set
{
if (this.AreDifferent(this._Mobilierung, value))
{
this._Mobilierung = value;
}
}
}
public virtual string Zusatznotiz
{
get
{
return this._Zusatznotiz;
}
set
{
if (this.AreDifferent(this._Zusatznotiz, value))
{
this._Zusatznotiz = value;
}
}
}
public virtual string Stock
{
get
{
return this._Stock;
}
set
{
if (this.AreDifferent(this._Stock, value))
{
this._Stock = value;
}
}
}
public virtual IList<WohneinheitBelegung> Belegungen
{
get
{
return this._Belegungen;
}
set
{
if (this.AreDifferent(this._Belegungen, value))
{
this._Belegungen = value;
}
}
}
}
}