106 lines
2.5 KiB
C#
106 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class WohneinheitBelegung : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_Customer = nameof(Customer);
|
|
public static string PropertyName_Wohneinheit = nameof(Wohneinheit);
|
|
public static string PropertyName_StartDate = nameof(StartDate);
|
|
public static string PropertyName_EndDate = nameof(EndDate);
|
|
public static string PropertyName_Kommentar = nameof(Kommentar);
|
|
|
|
private Customer _Customer;
|
|
private Wohneinheit _Wohneinheit;
|
|
private DateTime _StartDate;
|
|
private DateTime? _EndDate;
|
|
private string _Kommentar;
|
|
|
|
public WohneinheitBelegung()
|
|
{
|
|
_Tid = BS.Shared.TableID.WohneinheitBelegung;
|
|
}
|
|
|
|
public virtual Customer Customer
|
|
{
|
|
get
|
|
{
|
|
return this._Customer;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Customer, value))
|
|
{
|
|
this._Customer = value;
|
|
}
|
|
}
|
|
}
|
|
public virtual Wohneinheit Wohneinheit
|
|
{
|
|
get
|
|
{
|
|
return this._Wohneinheit;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Wohneinheit, value))
|
|
{
|
|
this._Wohneinheit = value;
|
|
}
|
|
}
|
|
}
|
|
public virtual DateTime StartDate
|
|
{
|
|
get
|
|
{
|
|
return this._StartDate;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._StartDate, value))
|
|
{
|
|
this._StartDate = value;
|
|
}
|
|
}
|
|
}
|
|
public virtual DateTime? EndDate
|
|
{
|
|
get
|
|
{
|
|
return this._EndDate;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._EndDate, value))
|
|
{
|
|
this._EndDate = value;
|
|
}
|
|
}
|
|
}
|
|
public virtual string Kommentar
|
|
{
|
|
get
|
|
{
|
|
return this._Kommentar;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Kommentar, value))
|
|
{
|
|
this._Kommentar = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|