151 lines
4.0 KiB
C#
151 lines
4.0 KiB
C#
using BS.Shared;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class Quittierungsbelegsstatus : BeWoEntityBase
|
|
{
|
|
private long _CustomerOid;
|
|
private DateTime _Startdatum;
|
|
private DateTime _Enddatum;
|
|
private long? _OrganisationOid;
|
|
private long? _EmployeeOid;
|
|
private long? _ServiceCategoryOid;
|
|
private bool _Erstellt;
|
|
private string _ErstelltVon;
|
|
private DateTime? _ErstelltAm;
|
|
private bool _Unterschrieben;
|
|
private string _UnterschriebenVon;
|
|
private DateTime? _UnterschriebenAm;
|
|
|
|
public Quittierungsbelegsstatus()
|
|
{
|
|
_Tid = TableID.Quittierungsbelegsstatus;
|
|
}
|
|
|
|
public virtual long CustomerOid
|
|
{
|
|
get { return _CustomerOid; }
|
|
set
|
|
{
|
|
if (AreDifferent(_CustomerOid, value))
|
|
_CustomerOid = value;
|
|
}
|
|
}
|
|
public virtual DateTime Startdatum
|
|
{
|
|
get { return _Startdatum; }
|
|
set
|
|
{
|
|
if (AreDifferent(_Startdatum, value))
|
|
_Startdatum = value;
|
|
}
|
|
}
|
|
public virtual DateTime Enddatum
|
|
{
|
|
get { return _Enddatum; }
|
|
set
|
|
{
|
|
if (AreDifferent(_Enddatum, value))
|
|
_Enddatum = value;
|
|
}
|
|
}
|
|
public virtual long? OrganisationOid
|
|
{
|
|
get { return _OrganisationOid; }
|
|
set
|
|
{
|
|
if (AreDifferent(_OrganisationOid, value))
|
|
_OrganisationOid = value;
|
|
}
|
|
}
|
|
public virtual long? EmployeeOid
|
|
{
|
|
get { return _EmployeeOid; }
|
|
set
|
|
{
|
|
if (AreDifferent(_EmployeeOid, value))
|
|
_EmployeeOid = value;
|
|
}
|
|
}
|
|
public virtual long? ServiceCategoryOid
|
|
{
|
|
get { return _ServiceCategoryOid; }
|
|
set
|
|
{
|
|
if (AreDifferent(_ServiceCategoryOid, value))
|
|
_ServiceCategoryOid = value;
|
|
}
|
|
}
|
|
public virtual bool Erstellt
|
|
{
|
|
get { return _Erstellt; }
|
|
set
|
|
{
|
|
if (AreDifferent(_Erstellt, value))
|
|
{
|
|
_Erstellt = value;
|
|
if(!_Erstellt)
|
|
{
|
|
_OrganisationOid = null;
|
|
_EmployeeOid = null;
|
|
_ServiceCategoryOid = null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
public virtual string ErstelltVon
|
|
{
|
|
get { return _ErstelltVon; }
|
|
set
|
|
{
|
|
if (AreDifferent(_ErstelltVon, value))
|
|
_ErstelltVon = value;
|
|
}
|
|
}
|
|
public virtual DateTime? ErstelltAm
|
|
{
|
|
get { return _ErstelltAm; }
|
|
set
|
|
{
|
|
if (AreDifferent(_ErstelltAm, value))
|
|
_ErstelltAm = value;
|
|
}
|
|
}
|
|
public virtual bool Unterschrieben
|
|
{
|
|
get { return _Unterschrieben; }
|
|
set
|
|
{
|
|
if (AreDifferent(_Unterschrieben, value))
|
|
_Unterschrieben = value;
|
|
}
|
|
}
|
|
public virtual string UnterschriebenVon
|
|
{
|
|
get { return _UnterschriebenVon; }
|
|
set
|
|
{
|
|
if (AreDifferent(_UnterschriebenVon, value))
|
|
_UnterschriebenVon = value;
|
|
}
|
|
}
|
|
public virtual DateTime? UnterschriebenAm
|
|
{
|
|
get { return _UnterschriebenAm; }
|
|
set
|
|
{
|
|
if (AreDifferent(_UnterschriebenAm, value))
|
|
_UnterschriebenAm = value;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|