60 lines
1.2 KiB
C#
60 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class Employee2Token : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_Token = "Token";
|
|
public static string PropertyName_Employee = "Employee";
|
|
|
|
private Token _Token;
|
|
private Employee _Employee;
|
|
|
|
|
|
|
|
public Employee2Token()
|
|
{
|
|
this._Tid = TableID.Employee2Token;
|
|
}
|
|
|
|
public virtual Token Token
|
|
{
|
|
get
|
|
{
|
|
return this._Token;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Token, value))
|
|
{
|
|
this._Token = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual Employee Employee
|
|
{
|
|
get
|
|
{
|
|
return this._Employee;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Employee, value))
|
|
{
|
|
this._Employee = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public virtual long TokenOid { get; set; }
|
|
|
|
public virtual long EmployeeOid { get; set; }
|
|
|
|
}
|
|
} |