Files
BeWoPlaner/Data/Entities/Textbaustein.cs
2018-01-05 19:13:18 -04:00

153 lines
3.4 KiB
C#

using BS.Shared;
namespace BeWo.Data.Entities
{
public class Textbaustein : BeWoEntityBase
{
public static string PropertyName_Text = "Text";
public static string PropertyName_Position = "Position";
public static string PropertyName_ServiceCategory = "ServiceCategory";
public static string PropertyName_Name = "Name";
public static string PropertyName_Employee = "Employee";
public static string PropertyName_IsOnlyForEmployee = "IsOnlyForEmployee";
public static string PropertyName_ParentOid = "ParentOid";
public static string PropertyName_IsParent = "IsParent";
public static string PropertyName_IsExpanded = "IsExpanded";
private string _Text;
private string _Name;
private int _Position;
private ServiceCategory _ServiceCategory;
private Employee _Employee;
private bool _IsOnlyForEmployee;
private TextModule _Parent;
private bool _IsParent;
private bool _IsExpanded;
public Textbaustein()
{
_Tid = TableID.Textbaustein;
}
public virtual bool IsExpanded
{
get => _IsExpanded;
set
{
if(AreDifferent(_IsExpanded, value))
{
_IsExpanded = value;
}
}
}
public virtual ServiceCategory ServiceCategory
{
get => _ServiceCategory;
set
{
if(AreDifferent(_ServiceCategory, value))
{
_ServiceCategory = value;
}
}
}
public virtual Employee Employee
{
get => _Employee;
set
{
if(AreDifferent(_Employee, value))
{
_Employee = value;
}
}
}
public virtual bool IsOnlyForEmployee
{
get => _IsOnlyForEmployee;
set
{
if(AreDifferent(_IsOnlyForEmployee, value))
{
_IsOnlyForEmployee = value;
}
}
}
public virtual bool IsParent
{
get => _IsParent;
set
{
if(AreDifferent(_IsParent, value))
{
_IsParent = value;
}
}
}
public virtual string Text
{
get => _Text;
set
{
if(AreDifferent(_Text, value))
{
_Text = value;
}
}
}
public virtual string Name
{
get => _Name;
set
{
if(AreDifferent(_Name, value))
{
_Name = value;
}
}
}
public virtual int Position
{
get => _Position;
set
{
if(AreDifferent(_Position, value))
{
_Position = value;
}
}
}
public virtual TextModule Parent
{
get => _Parent;
set
{
if(AreDifferent(_Parent, value))
{
_Parent = value;
}
}
}
}
}