54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using BS.Shared;
|
|||
|
|
|
|||
|
|
namespace BeWo.Data.Entities
|
|||
|
|
{
|
|||
|
|
public class CustomerTeam : BeWoEntityBase
|
|||
|
|
{
|
|||
|
|
public static string PropertyName_MemberList = "MemberList";
|
|||
|
|
|
|||
|
|
public static string PropertyName_Name = "Name";
|
|||
|
|
|
|||
|
|
private IList<Customer> _MemberList;
|
|||
|
|
|
|||
|
|
private string _Name;
|
|||
|
|
|
|||
|
|
public CustomerTeam()
|
|||
|
|
{
|
|||
|
|
_Tid = TableID.CustomerTeam;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public virtual IList<Customer> MemberList
|
|||
|
|
{
|
|||
|
|
get
|
|||
|
|
{
|
|||
|
|
return _MemberList ?? (_MemberList = new List<Customer>());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
set
|
|||
|
|
{
|
|||
|
|
if(AreDifferent(_MemberList, value))
|
|||
|
|
{
|
|||
|
|
_MemberList = value;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public virtual string Name
|
|||
|
|
{
|
|||
|
|
get
|
|||
|
|
{
|
|||
|
|
return _Name;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
set
|
|||
|
|
{
|
|||
|
|
if(AreDifferent(_Name, value))
|
|||
|
|
{
|
|||
|
|
_Name = value;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|