89 lines
2.1 KiB
C#
89 lines
2.1 KiB
C#
using BS.Shared;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class Arbeitszeit : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_GueltigVon = "GueltigVon";
|
|
|
|
public static string PropertyName_GueltigBis = "GueltigBis";
|
|
|
|
public static string PropertyName_EmployeeOid = "EmployeeOid";
|
|
|
|
public static string PropertyName_ArbeitsZeiteintragListe = "ArbeitszeitEintraege";
|
|
|
|
private DateTime? _GueltigVon;
|
|
|
|
private DateTime? _GueltigBis;
|
|
|
|
private long? _EmployeeOid;
|
|
|
|
private IList<ArbeitszeitEintrag> _ArbeitszeitEintraege;
|
|
|
|
|
|
|
|
public virtual DateTime? GueltigVon
|
|
{
|
|
get
|
|
{
|
|
return this._GueltigVon;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._GueltigVon, value))
|
|
{
|
|
this._GueltigVon = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? GueltigBis
|
|
{
|
|
get
|
|
{
|
|
return this._GueltigBis;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._GueltigBis, value))
|
|
{
|
|
this._GueltigBis = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public virtual long? EmployeeOid
|
|
{
|
|
get
|
|
{
|
|
return this._EmployeeOid;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._EmployeeOid, value))
|
|
{
|
|
this._EmployeeOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<ArbeitszeitEintrag> ArbeitszeitEintraege
|
|
{
|
|
get { return this._ArbeitszeitEintraege ?? (_ArbeitszeitEintraege = new List<ArbeitszeitEintrag>()); }
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._ArbeitszeitEintraege, value))
|
|
{
|
|
this._ArbeitszeitEintraege = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
} |