Files
BeWoPlaner/Data/Entities/TextModule.cs
staccatomamba bab0ad6568 -
2017-09-26 13:30:20 +02:00

150 lines
3.2 KiB
C#

using BS.Shared;
namespace BeWo.Data.Entities
{
public class TextModule : 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";
private string _Text;
private string _Name;
private int _Position;
private ServiceCategory _ServiceCategory;
private Employee _Employee;
private bool _IsOnlyForEmployee;
private TextModule _Parent;
private bool _IsParent;
public TextModule()
{
_Tid = TableID.Textbaustein;
}
public virtual ServiceCategory ServiceCategory
{
get { return _ServiceCategory; }
set
{
if (AreDifferent(_ServiceCategory, value))
{
_ServiceCategory = value;
}
}
}
public virtual Employee Employee
{
get { return _Employee; }
set
{
if (AreDifferent(_Employee, value))
{
_Employee = value;
}
}
}
public virtual bool IsOnlyForEmployee
{
get { return _IsOnlyForEmployee; }
set
{
if (AreDifferent(_IsOnlyForEmployee, value))
{
_IsOnlyForEmployee = value;
}
}
}
public virtual bool IsParent
{
get { return _IsParent; }
set
{
if(AreDifferent(_IsParent, value))
{
_IsParent = value;
}
}
}
public virtual string Text
{
get
{
return _Text;
}
set
{
if (AreDifferent(_Text, value))
{
_Text = value;
}
}
}
public virtual string Name
{
get
{
return _Name;
}
set
{
if (AreDifferent(_Name, value))
{
_Name = value;
}
}
}
public virtual int Position
{
get
{
return _Position;
}
set
{
if (AreDifferent(_Position, value))
{
_Position = value;
}
}
}
public virtual TextModule Parent
{
get
{
return _Parent;
}
set
{
if(AreDifferent(_Parent, value))
{
_Parent = value;
}
}
}
}
}