Files
BeWoPlaner/Data/Entities/AdditionalServiceGroupOfPeople.cs
2016-06-27 01:45:38 +02:00

56 lines
1.4 KiB
C#

using System.Collections.Generic;
using BS.Shared;
namespace BeWo.Data.Entities
{
public class AdditionalServiceGroupOfPeople : BeWoEntityBase
{
public static string PropertyName_Name = "Name";
public static string PropertyName_Appointment = "AppointmentDayOfWeek";
private string _Name;
private AppointmentDayOfWeek _AppointmentDayOfWeek;
private IList<Customer> _CustomerList;
public AdditionalServiceGroupOfPeople()
{
_Tid=TableID.AdditionalServiceGroupOfPeople;
}
public virtual string Name
{
get { return _Name; }
set
{
if(AreDifferent(_Name, value))
_Name = value;
}
}
public virtual AppointmentDayOfWeek AppointmentDayOfWeek
{
get { return _AppointmentDayOfWeek; }
set
{
if(AreDifferent(_AppointmentDayOfWeek, value))
_AppointmentDayOfWeek = value;
}
}
public virtual IList<Customer> CustomerList
{
get { return _CustomerList ?? (_CustomerList = new List<Customer>()); }
set { if (AreDifferent(_CustomerList, value)) _CustomerList = value; }
}
}
}