Files
BeWoPlaner/Data/Entities/Employee2SchedulerAppointment.cs

93 lines
2.2 KiB
C#
Raw Permalink Normal View History

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;
}
public Employee2SchedulerAppointment(Employee pEmployee)
{
_Tid = TableID.Employee2SchedulerAppointment;
Employee = pEmployee;
}
2016-06-27 01:45:38 +02:00
public virtual ParticipationAnswer ParticipationAnswer
{
get => _ParticipationAnswer;
set
2016-06-27 01:45:38 +02:00
{
if (AreDifferent(_ParticipationAnswer, value))
{
_ParticipationAnswer = value;
}
2016-06-27 01:45:38 +02:00
}
}
public virtual long? SchedulerAppointmentOid
{
get => _SchedulerAppointmentOid;
set
2016-06-27 01:45:38 +02:00
{
if (AreDifferent(_SchedulerAppointmentOid, value))
{
_SchedulerAppointmentOid = value;
}
2016-06-27 01:45:38 +02:00
}
}
public virtual bool IsPChanged
{
get => _IsPChanged;
set
2016-06-27 01:45:38 +02:00
{
if (AreDifferent(_IsPChanged, value))
{
_IsPChanged = value;
}
2016-06-27 01:45:38 +02:00
}
}
public virtual DateTime? IsPC_CheckedTs
{
get => _IsPC_CheckedTs;
set
2016-06-27 01:45:38 +02:00
{
if (AreDifferent(_IsPC_CheckedTs, value))
{
_IsPC_CheckedTs = value;
}
2016-06-27 01:45:38 +02:00
}
}
public virtual Employee Employee
{
get => _Employee;
2016-06-27 01:45:38 +02:00
set
2016-06-27 01:45:38 +02:00
{
if (AreDifferent(_Employee, value))
{
_Employee = value;
}
2016-06-27 01:45:38 +02:00
}
}
}
}