# Conflicts: # BeWo/BeWo.csproj # Data/Data.csproj # Host/Multitenancy/demo.config # Shared/BeWoEntityEnums.cs # Shared/Shared.csproj
93 lines
1.8 KiB
C#
93 lines
1.8 KiB
C#
using System.Windows.Media;
|
|
|
|
namespace BS.Shared.DataContracts.Compact
|
|
{
|
|
public partial class CompactCustomerTeamDC : IFilterableDC
|
|
{
|
|
public ActivationTypeId ActivationType
|
|
{
|
|
get
|
|
{
|
|
return ActivationTypeId.Active;
|
|
}
|
|
|
|
set { }
|
|
}
|
|
|
|
public string DetailDescription
|
|
{
|
|
get
|
|
{
|
|
return ToString();
|
|
}
|
|
}
|
|
|
|
public string FilterRelevants
|
|
{
|
|
get
|
|
{
|
|
return this.Name;
|
|
}
|
|
}
|
|
|
|
public string IconPath
|
|
{
|
|
get
|
|
{
|
|
return @"..\..\Ressources\Icons\UserGroupBusinessDisabled.png";
|
|
}
|
|
}
|
|
|
|
public string SimpleDescription
|
|
{
|
|
get
|
|
{
|
|
return this.Name;
|
|
}
|
|
}
|
|
|
|
public bool SupportsActivationType
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public long Version
|
|
{
|
|
get
|
|
{
|
|
return CustomerTeamVersion;
|
|
}
|
|
|
|
set
|
|
{
|
|
CustomerTeamVersion = value;
|
|
}
|
|
}
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (obj is CompactCustomerTeamDC)
|
|
{
|
|
return CustomerTeamOid == ((CompactCustomerTeamDC) obj).CustomerTeamOid;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return GetType().Name.GetHashCode() ^ CustomerTeamOid.GetHashCode();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
|
|
public SolidColorBrush FilterableBrush { get { return new SolidColorBrush(Colors.Transparent); } }
|
|
}
|
|
}
|