Files
BeWoPlaner/Data/Entities/HomeViewPanel.cs

52 lines
1.1 KiB
C#
Raw Permalink Normal View History

2019-08-12 16:49:42 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BS.Shared;
namespace BeWo.Data.Entities
{
public class HomeViewPanel : BeWoEntityBase
{
private HomeViewPanelType _PanelType;
private string _HeaderTitel;
2019-08-15 11:06:50 +02:00
private string _Value;
2019-08-12 16:49:42 +02:00
public HomeViewPanel()
{
_Tid = TableID.HomeViewPanel;
}
public virtual HomeViewPanelType PanelType
{
get => _PanelType;
set
{
if (AreDifferent(_PanelType, value))
_PanelType = value;
}
}
public virtual string HeaderTitel
{
get => _HeaderTitel;
set
{
if (AreDifferent(_HeaderTitel, value))
_HeaderTitel = value;
}
}
2019-08-15 11:06:50 +02:00
public virtual string Value
2019-08-12 16:49:42 +02:00
{
2019-08-15 11:06:50 +02:00
get => _Value;
2019-08-12 16:49:42 +02:00
set
{
2019-08-15 11:06:50 +02:00
if (AreDifferent(_Value, value))
_Value = value;
2019-08-12 16:49:42 +02:00
}
}
}
}