108 lines
2.4 KiB
C#
108 lines
2.4 KiB
C#
using BS.Shared;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class Token : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_Beschreibung = "Beschreibung";
|
|
|
|
public static string PropertyName_TokenTyp = "TokenTyp";
|
|
|
|
public static string PropertyName_MemberOid = "MemberOid";
|
|
|
|
private string _Beschreibung;
|
|
|
|
private TokenTyp? _TokenTyp;
|
|
|
|
private IList<Employee2Token> _Employee2TokenList;
|
|
|
|
private IList<Customer2Token> _Customer2TokenList;
|
|
|
|
private long? _MemberOid;
|
|
|
|
public Token()
|
|
{
|
|
this._Tid = TableID.Token;
|
|
}
|
|
|
|
|
|
public virtual string Beschreibung
|
|
{
|
|
get
|
|
{
|
|
return this._Beschreibung;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Beschreibung, value))
|
|
{
|
|
this._Beschreibung = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual TokenTyp? TokenTyp
|
|
{
|
|
get
|
|
{
|
|
return this._TokenTyp;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._TokenTyp, value))
|
|
{
|
|
this._TokenTyp = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public virtual IList<Employee2Token> Employee2TokenList
|
|
{
|
|
get { return _Employee2TokenList ?? (_Employee2TokenList = new List<Employee2Token>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_Employee2TokenList, value))
|
|
{
|
|
_Employee2TokenList = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<Customer2Token> Customer2TokenList
|
|
{
|
|
get { return _Customer2TokenList ?? (_Customer2TokenList = new List<Customer2Token>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_Customer2TokenList, value))
|
|
{
|
|
_Customer2TokenList = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? MemberOid
|
|
{
|
|
get
|
|
{
|
|
return _MemberOid;
|
|
}
|
|
set
|
|
{
|
|
if (AreDifferent(_MemberOid, value))
|
|
{
|
|
_MemberOid = value;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
} |