116 lines
2.1 KiB
C#
116 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class DienstInfo : BeWoEntityBase
|
|
{
|
|
private string _Dienstname;
|
|
private string _Kurz;
|
|
private string _Farbe;
|
|
private DateTime _Start;
|
|
private DateTime _Ende;
|
|
private int _Pause;
|
|
|
|
public DienstInfo()
|
|
{
|
|
_Tid = TableID.DienstInfo;
|
|
}
|
|
|
|
public virtual string DienstName
|
|
{
|
|
get
|
|
{
|
|
return _Dienstname;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Dienstname, value))
|
|
{
|
|
_Dienstname = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Kurz
|
|
{
|
|
get
|
|
{
|
|
return _Kurz;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Kurz, value))
|
|
{
|
|
_Kurz = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Farbe
|
|
{
|
|
get
|
|
{
|
|
return _Farbe;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Farbe, value))
|
|
{
|
|
_Farbe = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime Start
|
|
{
|
|
get
|
|
{
|
|
return _Start;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Start, value))
|
|
{
|
|
_Start = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime Ende
|
|
{
|
|
get
|
|
{
|
|
return _Ende;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Ende, value))
|
|
{
|
|
_Ende = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual int Pause
|
|
{
|
|
get
|
|
{
|
|
return _Pause;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_Pause, value))
|
|
{
|
|
_Pause = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|