Files
BeWoPlaner/Shared/DataContracts/Compact/ClientPartials/CompactCostBearerDC.cs
2016-06-27 01:45:38 +02:00

54 lines
1.2 KiB
C#

using System;
namespace BS.Shared.DataContracts.Compact
{
public partial class CompactCostBearerDC : IInvoiceRecipient
{
public decimal? DefaultAmount
{
get
{
return null;
}
}
public string InvoiceAddressString
{
get
{
if (this.Organisation != null)
{
return this.Organisation.Street + Environment.NewLine + this.Organisation.PostalCode + " " + this.Organisation.Town;
}
else
{
return null;
}
}
}
public string Name
{
get
{
return this.OrganisationName;
}
}
public long? Oid
{
get
{
return this.Organisation != null ? this.Organisation.OrganisationOid : 0;
}
}
public string OrganisationName
{
get
{
return this.Organisation != null ? this.Organisation.Name : null;
}
}
}
}