2016-06-27 01:45:38 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using BS.Shared;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BeWo.Data.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Employee2SchedulerAppointment : BeWoEntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string PropertyName_Employee = "Employee";
|
|
|
|
|
|
public static string PropertyName_SchedulerAppointment = "SchedulerAppointmentOid";
|
|
|
|
|
|
public static string PropertyName_ParticipationAnswer = "ParticipationAnswer";
|
|
|
|
|
|
public static string PropertyName_IsPChanged = "IsPChanged";
|
|
|
|
|
|
public static string PropertyName_IsPC_CheckedTs = "IsPC_CheckedTs";
|
|
|
|
|
|
|
|
|
|
|
|
private ParticipationAnswer _ParticipationAnswer;
|
|
|
|
|
|
private long? _SchedulerAppointmentOid;
|
|
|
|
|
|
private Employee _Employee;
|
|
|
|
|
|
private bool _IsPChanged;
|
|
|
|
|
|
private DateTime? _IsPC_CheckedTs;
|
|
|
|
|
|
|
|
|
|
|
|
public Employee2SchedulerAppointment()
|
|
|
|
|
|
{
|
|
|
|
|
|
_Tid = TableID.Employee2SchedulerAppointment;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2019-07-01 15:11:19 +02:00
|
|
|
|
public Employee2SchedulerAppointment(Employee pEmployee)
|
|
|
|
|
|
{
|
|
|
|
|
|
_Tid = TableID.Employee2SchedulerAppointment;
|
|
|
|
|
|
Employee = pEmployee;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
|
public virtual ParticipationAnswer ParticipationAnswer
|
|
|
|
|
|
{
|
2019-07-01 15:11:19 +02:00
|
|
|
|
get => _ParticipationAnswer;
|
|
|
|
|
|
set
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_ParticipationAnswer, value))
|
2019-07-01 15:11:19 +02:00
|
|
|
|
{
|
|
|
|
|
|
_ParticipationAnswer = value;
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual long? SchedulerAppointmentOid
|
|
|
|
|
|
{
|
2019-07-01 15:11:19 +02:00
|
|
|
|
get => _SchedulerAppointmentOid;
|
|
|
|
|
|
set
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_SchedulerAppointmentOid, value))
|
2019-07-01 15:11:19 +02:00
|
|
|
|
{
|
|
|
|
|
|
_SchedulerAppointmentOid = value;
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual bool IsPChanged
|
|
|
|
|
|
{
|
2019-07-01 15:11:19 +02:00
|
|
|
|
get => _IsPChanged;
|
|
|
|
|
|
set
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_IsPChanged, value))
|
2019-07-01 15:11:19 +02:00
|
|
|
|
{
|
|
|
|
|
|
_IsPChanged = value;
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual DateTime? IsPC_CheckedTs
|
|
|
|
|
|
{
|
2019-07-01 15:11:19 +02:00
|
|
|
|
get => _IsPC_CheckedTs;
|
|
|
|
|
|
set
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_IsPC_CheckedTs, value))
|
2019-07-01 15:11:19 +02:00
|
|
|
|
{
|
|
|
|
|
|
_IsPC_CheckedTs = value;
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual Employee Employee
|
|
|
|
|
|
{
|
2019-07-01 15:11:19 +02:00
|
|
|
|
get => _Employee;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2019-07-01 15:11:19 +02:00
|
|
|
|
set
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_Employee, value))
|
2019-07-01 15:11:19 +02:00
|
|
|
|
{
|
|
|
|
|
|
_Employee = value;
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|