182 lines
4.9 KiB
C#
182 lines
4.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class SchedulerAppointment : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_AllDay = "AllDay";
|
|
public static string PropertyName_CustomerList = "CustomerList";
|
|
public static string PropertyName_EmployeeList = "EmployeeList";
|
|
public static string PropertyName_EndDate = "EndDate";
|
|
public static string PropertyName_IsPrivate = "IsPrivate";
|
|
public static string PropertyName_Location = "Location";
|
|
public static string PropertyName_Originator = "Originator";
|
|
public static string PropertyName_RecurrenceInfo = "RecurrenceInfo";
|
|
public static string PropertyName_ReminderInfo = "ReminderInfo";
|
|
public static string PropertyName_ResourceList = "ResourceList";
|
|
public static string PropertyName_StartDate = "StartDate";
|
|
public static string PropertyName_Status = "Status";
|
|
public static string PropertyName_Subject = "Subject";
|
|
public static string PropertyName_Type = "Type";
|
|
public static string PropertyName_FormerBookingSequenceOid = "FormerBookingSequenceOid";
|
|
public static string PropertyName_Notice2 = "Notice2";
|
|
public static string PropertyName_Notice3 = "Notice3";
|
|
public static string PropertyName_Notice4 = "Notice4";
|
|
public static string PropertyName_Notice5 = "Notice5";
|
|
|
|
private IList<Employee2SchedulerAppointment> _EmployeeList;
|
|
private IList<Customer> _CustomerList;
|
|
private IList<Resource> _ResourceList;
|
|
private bool _IsPrivate;
|
|
private Employee _Originator;
|
|
private long? _FormerBookingSequenceOid;
|
|
private string _Notice2;
|
|
private string _Notice3;
|
|
private string _Notice4;
|
|
private string _Notice5;
|
|
|
|
public SchedulerAppointment()
|
|
{
|
|
_Tid = TableID.NewSchedulerAppointment;
|
|
}
|
|
|
|
|
|
public virtual bool AllDay { get; set; }
|
|
public virtual IList<Customer> CustomerList
|
|
{
|
|
get { return _CustomerList ?? (_CustomerList = new List<Customer>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_CustomerList, value))
|
|
_CustomerList = value;
|
|
}
|
|
}
|
|
public virtual DateTime? EndDate { get; set; }
|
|
public virtual bool IsPrivate
|
|
{
|
|
get { return _IsPrivate; }
|
|
set
|
|
{
|
|
if (AreDifferent(_IsPrivate, value))
|
|
_IsPrivate = value;
|
|
}
|
|
}
|
|
public virtual String Location { get; set; }
|
|
public virtual Employee Originator
|
|
{
|
|
get { return _Originator; }
|
|
set
|
|
{
|
|
if (AreDifferent(_Originator, value))
|
|
_Originator = value;
|
|
}
|
|
}
|
|
public virtual String RecurrenceInfo { get; set; }
|
|
public virtual String ReminderInfo { get; set; }
|
|
public virtual IList<Resource> ResourceList
|
|
{
|
|
get { return _ResourceList ?? (_ResourceList = new List<Resource>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_ResourceList, value))
|
|
_ResourceList = value;
|
|
}
|
|
}
|
|
public virtual IList<Employee2SchedulerAppointment> EmployeeList
|
|
{
|
|
get { return _EmployeeList ?? (_EmployeeList = new List<Employee2SchedulerAppointment>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_EmployeeList, value))
|
|
_EmployeeList = value;
|
|
}
|
|
}
|
|
public virtual DateTime? StartDate { get; set; }
|
|
public virtual int Status { get; set; }
|
|
public virtual String Subject { get; set; }
|
|
public virtual int Type { get; set; }
|
|
|
|
public virtual long? FormerBookingSequenceOid
|
|
{
|
|
get { return _FormerBookingSequenceOid; }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_FormerBookingSequenceOid, value))
|
|
_FormerBookingSequenceOid = value;
|
|
}
|
|
}
|
|
|
|
public virtual string Notice2
|
|
{
|
|
get
|
|
{
|
|
return this._Notice2;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice2, value))
|
|
{
|
|
this._Notice2 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice3
|
|
{
|
|
get
|
|
{
|
|
return this._Notice3;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice3, value))
|
|
{
|
|
this._Notice3 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice4
|
|
{
|
|
get
|
|
{
|
|
return this._Notice4;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice4, value))
|
|
{
|
|
this._Notice4 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice5
|
|
{
|
|
get
|
|
{
|
|
return this._Notice5;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice5, value))
|
|
{
|
|
this._Notice5 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|