32 lines
949 B
C#
32 lines
949 B
C#
using System.Collections.Generic;
|
|
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace BeWo.ViewModel.ListViewModel
|
|
{
|
|
public class CustomerPersonRelationListVM : AbstractDCListMapperVM<CustomerPersonRelationDC, CustomerPersonRelationVM>
|
|
{
|
|
public static string PropertyName_PossibleRoles = "PossibleRoles";
|
|
|
|
public static string PropertyName_IstFamilie = "IstFamilie";
|
|
|
|
private readonly List<ValueListEntryDC> _PossibleRoles;
|
|
|
|
private readonly bool _IstFamilie;
|
|
|
|
public CustomerPersonRelationListVM(List<CustomerPersonRelationDC> pDCs, List<ValueListEntryDC> pPossibleRoles) : base(pDCs)
|
|
{
|
|
this._PossibleRoles = pPossibleRoles;
|
|
}
|
|
|
|
public List<ValueListEntryDC> PossibleRoles
|
|
{
|
|
get { return this._PossibleRoles; }
|
|
}
|
|
|
|
public bool IstFamilie
|
|
{
|
|
get { return _IstFamilie; }
|
|
}
|
|
}
|
|
} |