76 lines
1.6 KiB
C#
76 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class Icf : BeWoEntityBase
|
|
{
|
|
|
|
private string _Code;
|
|
private string _Bezeichnung;
|
|
private string _Beschreibung;
|
|
private long? _ParentOID;
|
|
|
|
public Icf()
|
|
{
|
|
_Tid = TableID.Employee;
|
|
_Version = 1;
|
|
}
|
|
|
|
public virtual string Code
|
|
{
|
|
get => _Code;
|
|
set
|
|
{
|
|
if (AreDifferent(_Code, value))
|
|
{
|
|
_Code = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Bezeichnung
|
|
{
|
|
get => _Bezeichnung;
|
|
set
|
|
{
|
|
if (AreDifferent(_Bezeichnung, value))
|
|
{
|
|
_Bezeichnung = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Beschreibung
|
|
{
|
|
get => _Beschreibung;
|
|
set
|
|
{
|
|
if (AreDifferent(_Beschreibung, value))
|
|
{
|
|
_Beschreibung = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? ParentOID
|
|
{
|
|
get => _ParentOID;
|
|
set
|
|
{
|
|
if (AreDifferent(_ParentOID, value))
|
|
{
|
|
_ParentOID = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public override string ToString()
|
|
{
|
|
return "[B]:" + Beschreibung + " [O]:" + Oid + " [P]:" + _ParentOID;
|
|
}
|
|
|
|
}
|
|
} |