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 _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 CustomerList { get { return _CustomerList ?? (_CustomerList = new List()); } set { if (AreDifferent(_CustomerList, value)) _CustomerList = value; } } } }